From e91d2be9fd7742c41e95d7efcc37195ed0c79a63 Mon Sep 17 00:00:00 2001 From: Boshi Lian Date: Wed, 28 Mar 2018 10:30:09 +0800 Subject: [PATCH] generate v1.10.0 client (#121) --- csharp.settings | 2 +- src/generated/IKubernetes.cs | 2203 ++-- src/generated/Kubernetes.cs | 10660 ++++++++-------- src/generated/KubernetesExtensions.cs | 4752 ++++--- .../Extensionsv1beta1AllowedFlexVolume.cs | 65 + .../Extensionsv1beta1AllowedHostPath.cs | 60 + ...Extensionsv1beta1FSGroupStrategyOptions.cs | 66 + .../Models/Extensionsv1beta1HostPortRange.cs | 69 + .../Models/Extensionsv1beta1IDRange.cs | 65 + .../Extensionsv1beta1PodSecurityPolicy.cs | 109 + .../Extensionsv1beta1PodSecurityPolicyList.cs | 117 + .../Extensionsv1beta1PodSecurityPolicySpec.cs | 312 + ...tensionsv1beta1RunAsUserStrategyOptions.cs | 88 + ...Extensionsv1beta1SELinuxStrategyOptions.cs | 78 + ...1beta1SupplementalGroupsStrategyOptions.cs | 66 + ...e.cs => Policyv1beta1AllowedFlexVolume.cs} | 12 +- ...ath.cs => Policyv1beta1AllowedHostPath.cs} | 12 +- ...=> Policyv1beta1FSGroupStrategyOptions.cs} | 16 +- ...Range.cs => Policyv1beta1HostPortRange.cs} | 10 +- ...eta1IDRange.cs => Policyv1beta1IDRange.cs} | 10 +- ...y.cs => Policyv1beta1PodSecurityPolicy.cs} | 14 +- ... => Policyv1beta1PodSecurityPolicyList.cs} | 16 +- ... => Policyv1beta1PodSecurityPolicySpec.cs} | 28 +- ... Policyv1beta1RunAsUserStrategyOptions.cs} | 16 +- ...=> Policyv1beta1SELinuxStrategyOptions.cs} | 14 +- ...beta1SupplementalGroupsStrategyOptions.cs} | 12 +- src/generated/Models/V1APIService.cs | 115 + src/generated/Models/V1APIServiceCondition.cs | 102 + src/generated/Models/V1APIServiceList.cs | 109 + src/generated/Models/V1APIServiceSpec.cs | 165 + src/generated/Models/V1APIServiceStatus.cs | 50 + .../Models/V1CSIPersistentVolumeSource.cs | 82 +- src/generated/Models/V1ConfigMap.cs | 31 +- src/generated/Models/V1ContainerImage.cs | 4 +- src/generated/Models/V1Endpoints.cs | 25 +- src/generated/Models/V1EnvFromSource.cs | 4 +- src/generated/Models/V1EventSeries.cs | 6 +- .../Models/V1FlexPersistentVolumeSource.cs | 117 + .../Models/V1PersistentVolumeSpec.cs | 38 +- src/generated/Models/V1PodSecurityContext.cs | 18 +- src/generated/Models/V1PodSpec.cs | 60 +- src/generated/Models/V1PodStatus.cs | 31 +- .../Models/V1RollingUpdateDeployment.cs | 4 +- src/generated/Models/V1SecurityContext.cs | 18 +- src/generated/Models/V1ServiceReference.cs | 56 + src/generated/Models/V1VolumeMount.cs | 7 +- src/generated/Models/V1VolumeNodeAffinity.cs | 63 + src/generated/Models/V1alpha1PriorityClass.cs | 16 +- .../Models/V1alpha1PriorityClassList.cs | 4 +- .../V1beta1CustomResourceDefinitionNames.cs | 12 +- .../V1beta1CustomResourceDefinitionSpec.cs | 20 +- .../V1beta1CustomResourceSubresourceScale.cs | 115 + .../V1beta1CustomResourceSubresources.cs | 75 + src/generated/Models/V1beta1EventSeries.cs | 2 +- .../Models/V1beta1VolumeAttachment.cs | 132 + .../Models/V1beta1VolumeAttachmentList.cs | 117 + .../Models/V1beta1VolumeAttachmentSource.cs | 53 + .../Models/V1beta1VolumeAttachmentSpec.cs | 94 + .../Models/V1beta1VolumeAttachmentStatus.cs | 106 + src/generated/Models/V1beta1VolumeError.cs | 59 + src/generated/Models/V1beta1Webhook.cs | 24 +- .../Models/V2beta1ExternalMetricSource.cs | 99 + .../Models/V2beta1ExternalMetricStatus.cs | 100 + src/generated/Models/V2beta1MetricSpec.cs | 32 +- src/generated/Models/V2beta1MetricStatus.cs | 32 +- src/generated/swagger.json | 6450 ++++++---- src/generated/swagger.json.unprocessed | 5291 +++++--- 67 files changed, 20207 insertions(+), 12603 deletions(-) create mode 100644 src/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs create mode 100644 src/generated/Models/Extensionsv1beta1AllowedHostPath.cs create mode 100644 src/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs create mode 100644 src/generated/Models/Extensionsv1beta1HostPortRange.cs create mode 100644 src/generated/Models/Extensionsv1beta1IDRange.cs create mode 100644 src/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs create mode 100644 src/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs create mode 100644 src/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs create mode 100644 src/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs create mode 100644 src/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs create mode 100644 src/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs rename src/generated/Models/{V1beta1AllowedFlexVolume.cs => Policyv1beta1AllowedFlexVolume.cs} (78%) rename src/generated/Models/{V1beta1AllowedHostPath.cs => Policyv1beta1AllowedHostPath.cs} (79%) rename src/generated/Models/{V1beta1FSGroupStrategyOptions.cs => Policyv1beta1FSGroupStrategyOptions.cs} (74%) rename src/generated/Models/{V1beta1HostPortRange.cs => Policyv1beta1HostPortRange.cs} (81%) rename src/generated/Models/{V1beta1IDRange.cs => Policyv1beta1IDRange.cs} (82%) rename src/generated/Models/{V1beta1PodSecurityPolicy.cs => Policyv1beta1PodSecurityPolicy.cs} (83%) rename src/generated/Models/{V1beta1PodSecurityPolicyList.cs => Policyv1beta1PodSecurityPolicyList.cs} (85%) rename src/generated/Models/{V1beta1PodSecurityPolicySpec.cs => Policyv1beta1PodSecurityPolicySpec.cs} (85%) rename src/generated/Models/{V1beta1RunAsUserStrategyOptions.cs => Policyv1beta1RunAsUserStrategyOptions.cs} (78%) rename src/generated/Models/{V1beta1SELinuxStrategyOptions.cs => Policyv1beta1SELinuxStrategyOptions.cs} (81%) rename src/generated/Models/{V1beta1SupplementalGroupsStrategyOptions.cs => Policyv1beta1SupplementalGroupsStrategyOptions.cs} (77%) create mode 100644 src/generated/Models/V1APIService.cs create mode 100644 src/generated/Models/V1APIServiceCondition.cs create mode 100644 src/generated/Models/V1APIServiceList.cs create mode 100644 src/generated/Models/V1APIServiceSpec.cs create mode 100644 src/generated/Models/V1APIServiceStatus.cs create mode 100644 src/generated/Models/V1FlexPersistentVolumeSource.cs create mode 100644 src/generated/Models/V1ServiceReference.cs create mode 100644 src/generated/Models/V1VolumeNodeAffinity.cs create mode 100644 src/generated/Models/V1beta1CustomResourceSubresourceScale.cs create mode 100644 src/generated/Models/V1beta1CustomResourceSubresources.cs create mode 100644 src/generated/Models/V1beta1VolumeAttachment.cs create mode 100644 src/generated/Models/V1beta1VolumeAttachmentList.cs create mode 100644 src/generated/Models/V1beta1VolumeAttachmentSource.cs create mode 100644 src/generated/Models/V1beta1VolumeAttachmentSpec.cs create mode 100644 src/generated/Models/V1beta1VolumeAttachmentStatus.cs create mode 100644 src/generated/Models/V1beta1VolumeError.cs create mode 100644 src/generated/Models/V2beta1ExternalMetricSource.cs create mode 100644 src/generated/Models/V2beta1ExternalMetricStatus.cs diff --git a/csharp.settings b/csharp.settings index 1b69f99..43448bb 100644 --- a/csharp.settings +++ b/csharp.settings @@ -1,3 +1,3 @@ -export KUBERNETES_BRANCH=v1.9.2 +export KUBERNETES_BRANCH=v1.10.0 export CLIENT_VERSION=0.0.1 export PACKAGE_NAME=k8s diff --git a/src/generated/IKubernetes.cs b/src/generated/IKubernetes.cs index 0f5160d..ab16382 100644 --- a/src/generated/IKubernetes.cs +++ b/src/generated/IKubernetes.cs @@ -130,7 +130,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -229,7 +230,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -311,7 +313,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -393,7 +396,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -475,7 +479,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -554,7 +559,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -674,7 +680,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -778,7 +785,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -981,7 +989,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1085,7 +1094,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1288,7 +1298,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1392,7 +1403,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1595,7 +1607,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1699,7 +1712,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1902,7 +1916,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2006,7 +2021,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2273,7 +2289,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2377,7 +2394,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3198,7 +3216,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3302,7 +3321,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3505,7 +3525,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3609,7 +3630,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3940,7 +3962,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4044,7 +4067,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4311,7 +4335,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4415,7 +4440,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4618,7 +4644,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4722,7 +4749,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4925,7 +4953,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -5015,12 +5044,38 @@ namespace k8s /// /// delete a Service /// + /// + /// /// /// name of the Service /// /// /// 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. /// @@ -5030,7 +5085,7 @@ namespace k8s /// /// The cancellation token. /// - Task> DeleteNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + 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)); /// /// partially update the specified Service @@ -5668,7 +5723,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -5766,7 +5822,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6234,7 +6291,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6313,7 +6371,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6411,7 +6470,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6657,7 +6717,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6739,7 +6800,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6754,636 +6816,6 @@ namespace k8s /// Task> ListPodTemplateForAllNamespacesWithHttpMessagesAsync(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)); - /// - /// proxy GET requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy GET requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy GET requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy GET requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy GET requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Node - /// - /// - /// name of the Node - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNodeWithHttpMessagesAsync(string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy GET requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyGETNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PUT requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPUTNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy POST requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPOSTNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy DELETE requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyDELETENodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy HEAD requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyHEADNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - - /// - /// proxy PATCH requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - Task> ProxyPATCHNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// /// list or watch objects of kind ReplicationController /// @@ -7451,7 +6883,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7533,7 +6966,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7615,7 +7049,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7697,7 +7132,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7779,7 +7215,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7891,7 +7328,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7989,7 +7427,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8188,7 +7627,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8286,7 +7726,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8474,7 +7915,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8572,7 +8014,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8782,7 +8225,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8880,7 +8324,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9109,7 +8554,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9125,7 +8571,7 @@ namespace k8s /// /// The cancellation token. /// - Task> ListAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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> ListAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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 APIService @@ -9141,7 +8587,7 @@ namespace k8s /// /// The cancellation token. /// - Task> CreateAPIServiceWithHttpMessagesAsync(V1beta1APIService body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateAPIServiceWithHttpMessagesAsync(V1APIService body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete collection of APIService @@ -9207,7 +8653,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9248,7 +8695,7 @@ namespace k8s /// /// The cancellation token. /// - Task> ReadAPIServiceWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReadAPIServiceWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace the specified APIService @@ -9267,7 +8714,7 @@ namespace k8s /// /// The cancellation token. /// - Task> ReplaceAPIServiceWithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceAPIServiceWithHttpMessagesAsync(V1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// delete an APIService @@ -9329,7 +8776,7 @@ namespace k8s /// /// The cancellation token. /// - Task> PatchAPIServiceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> PatchAPIServiceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// replace status of the specified APIService @@ -9348,7 +8795,325 @@ namespace k8s /// /// The cancellation token. /// - Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1APIService 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> GetAPIResources5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// list or watch objects of kind 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. + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + 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)); + + /// + /// create an APIService + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreateAPIService1WithHttpMessagesAsync(V1beta1APIService body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// 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 + /// indicating the client must restart their list without the continue + /// field. This field is not supported when watch is true. Clients may + /// start a watch from the 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> 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)); + + /// + /// read the specified 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReadAPIService1WithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace 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> ReplaceAPIService1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete an 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. + /// + /// + /// 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> 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)); + + /// + /// partially update 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> PatchAPIService1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// replace 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> ReplaceAPIServiceStatus1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// get information of a group @@ -9370,7 +9135,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ControllerRevision @@ -9439,7 +9204,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9521,7 +9287,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9603,7 +9370,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9685,7 +9453,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9789,7 +9558,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9992,7 +9762,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10096,7 +9867,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10363,7 +10135,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10467,7 +10240,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10798,7 +10572,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10902,7 +10677,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11233,7 +11009,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11337,7 +11114,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11668,7 +11446,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11750,7 +11529,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11774,7 +11554,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ControllerRevision @@ -11843,7 +11623,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11925,7 +11706,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12007,7 +11789,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12111,7 +11894,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12314,7 +12098,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12418,7 +12203,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12771,7 +12557,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12875,7 +12662,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13206,7 +12994,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13230,7 +13019,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ControllerRevision @@ -13299,7 +13088,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13381,7 +13171,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13463,7 +13254,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13545,7 +13337,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13649,7 +13442,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13852,7 +13646,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13956,7 +13751,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14223,7 +14019,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14327,7 +14124,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14658,7 +14456,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14762,7 +14561,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15093,7 +14893,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15197,7 +14998,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15528,7 +15330,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15610,7 +15413,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15645,7 +15449,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a TokenReview @@ -15672,7 +15476,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a TokenReview @@ -15710,7 +15514,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a LocalSubjectAccessReview @@ -15788,7 +15592,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// create a LocalSubjectAccessReview @@ -15877,7 +15681,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -15946,7 +15750,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16028,7 +15833,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16132,7 +15938,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16341,7 +16148,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind HorizontalPodAutoscaler @@ -16410,7 +16217,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16492,7 +16300,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16596,7 +16405,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16816,7 +16626,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind Job @@ -16885,7 +16695,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16967,7 +16778,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17071,7 +16883,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17280,7 +17093,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CronJob @@ -17349,7 +17162,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17431,7 +17245,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17535,7 +17350,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17744,7 +17560,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CronJob @@ -17813,7 +17629,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17895,7 +17712,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17999,7 +17817,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18219,7 +18038,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind CertificateSigningRequest @@ -18285,7 +18104,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18383,7 +18203,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18565,7 +18386,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind Event @@ -18634,7 +18455,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18716,7 +18538,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18820,7 +18643,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18976,7 +18800,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind DaemonSet @@ -19045,7 +18869,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19127,7 +18952,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19209,7 +19035,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19291,7 +19118,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19395,7 +19223,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19662,7 +19491,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19766,7 +19596,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20119,7 +19950,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20223,7 +20055,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20490,7 +20323,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20594,7 +20428,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20797,7 +20632,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20901,7 +20737,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21296,7 +21133,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21375,7 +21213,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21391,7 +21230,7 @@ namespace k8s /// /// 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> 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 PodSecurityPolicy @@ -21407,7 +21246,7 @@ namespace k8s /// /// The cancellation token. /// - Task> CreatePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, 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 PodSecurityPolicy @@ -21473,7 +21312,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21514,7 +21354,7 @@ namespace k8s /// /// 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> 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 PodSecurityPolicy @@ -21533,7 +21373,7 @@ namespace k8s /// /// The cancellation token. /// - Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string name, 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 PodSecurityPolicy @@ -21595,7 +21435,7 @@ namespace k8s /// /// The cancellation token. /// - Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, 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)); /// /// list or watch objects of kind ReplicaSet @@ -21664,7 +21504,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21699,7 +21540,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind NetworkPolicy @@ -21768,7 +21609,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21872,7 +21714,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22075,7 +21918,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22110,7 +21954,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind PodDisruptionBudget @@ -22179,7 +22023,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22283,7 +22128,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22550,7 +22396,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22565,6 +22412,294 @@ namespace k8s /// 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)); + /// + /// 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. + /// + /// + /// 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> 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)); + + /// + /// create a PodSecurityPolicy + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> CreatePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// 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 + /// indicating the client must restart their list without the continue + /// field. This field is not supported when watch is true. Clients may + /// start a watch from the 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> 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)); + + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// 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)); + + /// + /// replace the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> ReplacePodSecurityPolicy1WithHttpMessagesAsync(Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + + /// + /// delete a PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// 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> 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)); + + /// + /// partially update the specified PodSecurityPolicy + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + Task> PatchPodSecurityPolicy1WithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// get information of a group /// @@ -22585,7 +22720,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ClusterRoleBinding @@ -22651,7 +22786,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22749,7 +22885,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22929,7 +23066,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23027,7 +23165,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23210,7 +23349,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23314,7 +23454,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23509,7 +23650,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23613,7 +23755,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23808,7 +23951,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23890,7 +24034,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23914,7 +24059,7 @@ namespace k8s /// /// 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 @@ -23980,7 +24125,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24078,7 +24224,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24258,7 +24405,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24356,7 +24504,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24539,7 +24688,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24643,7 +24793,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24838,7 +24989,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24942,7 +25094,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25137,7 +25290,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25219,7 +25373,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25243,7 +25398,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind ClusterRoleBinding @@ -25309,7 +25464,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25407,7 +25563,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25587,7 +25744,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25685,7 +25843,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25868,7 +26027,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25972,7 +26132,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26167,7 +26328,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26271,7 +26433,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26466,7 +26629,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26548,7 +26712,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26583,7 +26748,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind PriorityClass @@ -26649,7 +26814,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26747,7 +26913,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26891,7 +27058,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind PodPreset @@ -26960,7 +27127,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27064,7 +27232,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27267,7 +27436,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27302,7 +27472,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind StorageClass @@ -27368,7 +27538,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27466,7 +27637,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27599,7 +27771,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind VolumeAttachment @@ -27665,7 +27837,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27763,7 +27936,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27896,7 +28070,7 @@ namespace k8s /// /// The cancellation token. /// - Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// list or watch objects of kind StorageClass @@ -27962,7 +28136,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28060,7 +28235,8 @@ namespace k8s /// fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28184,6 +28360,294 @@ namespace k8s /// 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 + /// indicating the client must restart their list without the continue + /// field. This field is not supported when watch is true. Clients may + /// start a watch from the 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 + /// indicating the client must restart their list without the continue + /// field. This field is not supported when watch is true. Clients may + /// start a watch from the 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 + /// + /// + /// 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, 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. /// @@ -28383,6 +28847,33 @@ namespace k8s /// Task> ReplaceClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// patch the specified cluster scoped custom object + /// + /// + /// The JSON schema of the Resource to patch. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom object'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> PatchClusterCustomObjectWithHttpMessagesAsync(object body, string group, string version, string plural, string name, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Deletes the specified cluster scoped custom object /// @@ -28483,6 +28974,36 @@ namespace k8s /// 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. + /// + /// + /// The cancellation token. + /// + Task> PatchNamespacedCustomObjectWithHttpMessagesAsync(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 /// diff --git a/src/generated/Kubernetes.cs b/src/generated/Kubernetes.cs index b510ceb..0e92c5c 100644 --- a/src/generated/Kubernetes.cs +++ b/src/generated/Kubernetes.cs @@ -583,7 +583,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -978,7 +979,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1219,7 +1221,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1460,7 +1463,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1701,7 +1705,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1939,7 +1944,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2588,7 +2594,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3051,7 +3058,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4075,7 +4083,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4538,7 +4547,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -5562,7 +5572,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6025,7 +6036,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7049,7 +7061,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7512,7 +7525,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8536,7 +8550,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8999,7 +9014,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10560,7 +10576,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11023,7 +11040,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16411,7 +16429,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16874,7 +16893,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17898,7 +17918,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18361,7 +18382,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20459,7 +20481,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20922,7 +20945,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22483,7 +22507,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22946,7 +22971,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23970,7 +23996,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24433,7 +24460,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25457,7 +25485,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26240,12 +26269,36 @@ namespace k8s /// /// delete a Service /// + /// + /// /// /// name of the Service /// /// /// 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. /// @@ -26270,8 +26323,12 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> DeleteNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + 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)) { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } if (name == null) { throw new ValidationException(ValidationRules.CannotBeNull, "name"); @@ -26287,6 +26344,10 @@ namespace k8s { _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); @@ -26299,6 +26360,18 @@ namespace k8s _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))); @@ -26329,6 +26402,12 @@ namespace k8s // 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) { @@ -30685,7 +30764,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -31124,7 +31204,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34536,7 +34617,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34774,7 +34856,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35213,7 +35296,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36699,7 +36783,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36940,7 +37025,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37119,4992 +37205,6 @@ namespace k8s return _result; } - /// - /// proxy GET requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyGETNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyPUTNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyPOSTNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyDELETENamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyHEADNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// 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 - /// - /// - /// 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> ProxyPATCHNamespacedPodWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNamespacedPod", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy GET requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyGETNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPUTNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPOSTNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyDELETENamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyHEADNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPATCHNamespacedPodWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNamespacedPodWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy GET requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyGETNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyPUTNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyPOSTNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyDELETENamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyHEADNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// name of the Service - /// - /// - /// 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 - /// - /// - /// 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> ProxyPATCHNamespacedServiceWithHttpMessagesAsync(string name, string namespaceParameter, 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("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNamespacedService", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy GET requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyGETNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPUTNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPOSTNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyDELETENamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyHEADNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPATCHNamespacedServiceWithPathWithHttpMessagesAsync(string name, string namespaceParameter, string path, 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"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // 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("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNamespacedServiceWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/namespaces/{namespace}/services/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy GET requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyGETNodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _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.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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyPUTNodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _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.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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyPOSTNodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _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.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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyDELETENodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _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.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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyHEADNodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// name of the Node - /// - /// - /// 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> ProxyPATCHNodeWithHttpMessagesAsync(string name, 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("name", name); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNode", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy GET requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyGETNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyGETNodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PUT requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPUTNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPUTNodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy POST requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPOSTNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPOSTNodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyDELETENodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyDELETENodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyHEADNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyHEADNodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("HEAD"); - _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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// 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> ProxyPATCHNodeWithPathWithHttpMessagesAsync(string name, string path, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "name"); - } - if (path == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "path"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("name", name); - tracingParameters.Add("path", path); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ProxyPATCHNodeWithPath", tracingParameters); - } - // Construct URL - var _baseUrl = BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "api/v1/proxy/nodes/{name}/{path}").ToString(); - _url = _url.Replace("{name}", System.Uri.EscapeDataString(name)); - _url = _url.Replace("{path}", System.Uri.EscapeDataString(path)); - // 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; - // 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, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, 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) - { - _result.Body = await _httpResponse.Content.ReadAsStreamAsync().ConfigureAwait(false); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - /// /// list or watch objects of kind ReplicationController /// @@ -42167,7 +37267,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42408,7 +37509,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42649,7 +37751,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42890,7 +37993,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43131,7 +38235,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43747,7 +38852,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44186,7 +39292,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45285,7 +40392,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45724,7 +40832,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46697,7 +41806,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47136,7 +42246,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48361,7 +43472,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48800,7 +43912,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50061,6 +45174,1735 @@ namespace k8s } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.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 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. + /// + /// + /// 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> ListAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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, "ListAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/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))); + } + 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 an 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> CreateAPIServiceWithHttpMessagesAsync(V1APIService 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, "CreateAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/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); + } + // 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 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. + /// + /// + /// 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> DeleteCollectionAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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, "DeleteCollectionAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "apis/apiregistration.k8s.io/v1/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))); + } + 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 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. + /// + /// + /// 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> ReadAPIServiceWithHttpMessagesAsync(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, "ReadAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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 (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 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> ReplaceAPIServiceWithHttpMessagesAsync(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; + 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, "ReplaceAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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 (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 an 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. + /// + /// + /// 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> 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)) + { + 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("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, "DeleteAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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 (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 != 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 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> PatchAPIServiceWithHttpMessagesAsync(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, "PatchAPIService", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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 (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 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> 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; + 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, "ReplaceAPIServiceStatus", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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("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; + } + + /// + /// 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> GetAPIResources5WithHttpMessagesAsync(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, "GetAPIResources5", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; 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(); @@ -50214,7 +47056,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50238,7 +47081,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> ListAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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; @@ -50257,7 +47100,7 @@ namespace k8s tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -50425,7 +47268,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> CreateAPIServiceWithHttpMessagesAsync(V1beta1APIService body, 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 (body == null) { @@ -50445,7 +47288,7 @@ namespace k8s tracingParameters.Add("body", body); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "CreateAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "CreateAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -50653,7 +47496,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50677,7 +47521,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> DeleteCollectionAPIServiceWithHttpMessagesAsync(string continueParameter = default(string), string fieldSelector = default(string), bool? includeUninitialized = default(bool?), string labelSelector = default(string), int? limit = default(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> 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)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -50696,7 +47540,7 @@ namespace k8s tracingParameters.Add("watch", watch); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteCollectionAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -50873,7 +47717,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> ReadAPIServiceWithHttpMessagesAsync(string name, bool? exact = default(bool?), bool? export = default(bool?), 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 (name == null) { @@ -50891,7 +47735,7 @@ namespace k8s tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReadAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReadAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -51039,7 +47883,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAPIServiceWithHttpMessagesAsync(V1beta1APIService 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) { @@ -51064,7 +47908,7 @@ namespace k8s tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -51250,7 +48094,7 @@ namespace k8s /// /// 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> 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)) { if (body == null) { @@ -51274,7 +48118,7 @@ namespace k8s tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "DeleteAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "DeleteAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -51432,7 +48276,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> PatchAPIServiceWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), 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) { @@ -51453,7 +48297,7 @@ namespace k8s tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "PatchAPIService", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "PatchAPIService1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -51599,7 +48443,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> ReplaceAPIServiceStatusWithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplaceAPIServiceStatus1WithHttpMessagesAsync(V1beta1APIService body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -51624,7 +48468,7 @@ namespace k8s tracingParameters.Add("name", name); tracingParameters.Add("pretty", pretty); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ReplaceAPIServiceStatus1", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -51900,7 +48744,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources5WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -51910,7 +48754,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources5", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources6", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -52070,7 +48914,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52311,7 +49156,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52552,7 +49398,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52793,7 +49640,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53256,7 +50104,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54280,7 +51129,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54743,7 +51593,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56304,7 +53155,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56767,7 +53619,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -58865,7 +55718,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -59328,7 +56182,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -61426,7 +58281,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -61889,7 +58745,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -63987,7 +60844,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -64228,7 +61086,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -64425,7 +61284,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources6WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -64435,7 +61294,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources6", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources7", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -64595,7 +61454,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -64836,7 +61696,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -65077,7 +61938,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -65540,7 +62402,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -66564,7 +63427,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -67027,7 +63891,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -69341,7 +66206,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -69804,7 +66670,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -71902,7 +68769,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -72099,7 +68967,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources7WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -72109,7 +68977,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources7", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources8", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -72269,7 +69137,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -72510,7 +69379,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -72751,7 +69621,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -72992,7 +69863,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -73455,7 +70327,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -74479,7 +71352,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -74942,7 +71816,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -76503,7 +73378,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -76966,7 +73842,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -79064,7 +75941,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -79527,7 +76405,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -81625,7 +78504,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -82088,7 +78968,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -84186,7 +81067,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -84427,7 +81309,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -84750,7 +81633,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources8WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -84760,7 +81643,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources8", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources9", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -85074,7 +81957,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources9WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -85084,7 +81967,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources9", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources10", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -85524,7 +82407,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources10WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -85534,7 +82417,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources10", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources11", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -86451,7 +83334,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources11WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -86461,7 +83344,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources11", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources12", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -87504,7 +84387,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources12WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -87514,7 +84397,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources12", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources13", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -87674,7 +84557,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -87915,7 +84799,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -88378,7 +85263,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -89895,7 +86781,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources13WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -89905,7 +86791,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources13", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources14", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -90065,7 +86951,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -90306,7 +87193,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -90769,7 +87657,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -92412,7 +89301,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources14WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -92422,7 +89311,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources14", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources15", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -92582,7 +89471,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -92823,7 +89713,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -93286,7 +90177,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -94803,7 +91695,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources15WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -94813,7 +91705,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources15", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -94973,7 +91865,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -95214,7 +92107,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -95677,7 +92571,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -97194,7 +94089,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources16WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -97204,7 +94099,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources16", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources17", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -97364,7 +94259,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -97605,7 +94501,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -98068,7 +94965,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -99711,7 +96609,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources17WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -99721,7 +96619,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources17", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -99878,7 +96776,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -100317,7 +97216,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -101753,7 +98653,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources18WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -101763,7 +98663,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources18", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -101923,7 +98823,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -102164,7 +99065,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -102627,7 +99529,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -103733,7 +100636,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources19WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -103743,7 +100646,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources19", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -103903,7 +100806,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -104144,7 +101048,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -104385,7 +101290,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -104626,7 +101532,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -105089,7 +101996,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -106650,7 +103558,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -107113,7 +104022,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -109427,7 +106337,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -109890,7 +106801,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -111451,7 +108363,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -111914,7 +108827,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -112938,7 +109852,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -113401,7 +110316,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -116036,7 +112952,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -116274,7 +113191,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -116298,7 +113216,7 @@ namespace k8s /// /// 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> 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; @@ -116428,7 +113346,7 @@ namespace k8s throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116437,7 +113355,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116485,7 +113403,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreatePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -116590,7 +113508,7 @@ namespace k8s throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -116599,7 +113517,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116617,7 +113535,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116635,7 +113553,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -116713,7 +113631,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -116933,7 +113852,7 @@ namespace k8s /// /// 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> 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) { @@ -117039,7 +113958,7 @@ namespace k8s throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117048,7 +113967,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117099,7 +114018,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(V1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> ReplacePodSecurityPolicyWithHttpMessagesAsync(Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -117210,7 +114129,7 @@ namespace k8s throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117219,7 +114138,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117237,7 +114156,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117492,7 +114411,7 @@ namespace k8s /// /// 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)) + public async Task> PatchPodSecurityPolicyWithHttpMessagesAsync(V1Patch body, string name, string pretty = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (body == null) { @@ -117599,7 +114518,7 @@ namespace k8s throw ex; } // Create Result - var _result = new HttpOperationResponse(); + var _result = new HttpOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; // Deserialize Response @@ -117608,7 +114527,7 @@ namespace k8s _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); + _result.Body = SafeJsonConvert.DeserializeObject(_responseContent, DeserializationSettings); } catch (JsonException ex) { @@ -117689,7 +114608,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -118012,7 +114932,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources20WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -118022,7 +114942,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources20", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -118182,7 +115102,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -118645,7 +115566,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -119669,7 +116591,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -119992,7 +116915,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources21WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -120002,7 +116925,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources21", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -120162,7 +117085,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -120625,7 +117549,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -122186,7 +119111,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -122365,6 +119291,1420 @@ namespace k8s 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 + /// + /// + /// 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, 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("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 (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 != 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 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 /// @@ -122509,7 +120849,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources22WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -122519,7 +120859,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources22", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -122676,7 +121016,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -123115,7 +121456,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -124070,7 +122412,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -124509,7 +122852,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -125467,7 +123811,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -125930,7 +124275,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -126936,7 +125282,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -127399,7 +125746,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -128405,7 +126753,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -128646,7 +126995,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -128843,7 +127193,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources23WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -128853,7 +127203,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources23", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -129010,7 +127360,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -129449,7 +127800,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -130404,7 +128756,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -130843,7 +129196,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -131801,7 +130155,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -132264,7 +130619,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -133270,7 +131626,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -133733,7 +132090,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -134739,7 +133097,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -134980,7 +133339,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -135177,7 +133537,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources24WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -135187,7 +133547,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources24", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -135344,7 +133704,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -135783,7 +134144,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -136738,7 +135100,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -137177,7 +135540,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -138135,7 +136499,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -138598,7 +136963,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -139604,7 +137970,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -140067,7 +138434,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -141073,7 +139441,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -141314,7 +139683,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -141637,7 +140007,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources25WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -141647,7 +140017,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources25", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -141804,7 +140174,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -142243,7 +140614,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -143301,7 +141673,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources26WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -143311,7 +141683,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources26", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -143471,7 +141843,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -143934,7 +142307,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -144958,7 +143332,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -145281,7 +143656,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources27WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -145291,7 +143666,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources27", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -145448,7 +143823,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -145887,7 +144263,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -146819,7 +145196,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources28WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -146829,7 +145206,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources28", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources29", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -146986,7 +145363,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -147425,7 +145803,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -148357,7 +146736,7 @@ namespace k8s /// /// A response object containing the response body and response headers. /// - public async Task> GetAPIResources29WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetAPIResources30WithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -148367,7 +146746,7 @@ namespace k8s _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources29", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetAPIResources30", tracingParameters); } // Construct URL var _baseUrl = BaseUri.AbsoluteUri; @@ -148524,7 +146903,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -148963,7 +147343,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -149877,6 +148258,1420 @@ namespace k8s return _result; } + /// + /// 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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> 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; + 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, "ListVolumeAttachment1", 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) + { + _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 VolumeAttachment + /// + /// + /// + /// + /// 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> CreateVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment 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, "CreateVolumeAttachment1", 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); + } + // 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 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. + /// + /// + /// 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> 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; + 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) + { + _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 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. + /// + /// + /// 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> 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) + { + 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, "ReadVolumeAttachment1", 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(); + _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 VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// 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> ReplaceVolumeAttachment1WithHttpMessagesAsync(V1beta1VolumeAttachment 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, "ReplaceVolumeAttachment1", 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(); + _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 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. + /// + /// + /// 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> 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)) + { + 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("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, "DeleteVolumeAttachment1", 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(); + _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.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 != 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 VolumeAttachment + /// + /// + /// + /// + /// name of the VolumeAttachment + /// + /// + /// 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> PatchVolumeAttachment1WithHttpMessagesAsync(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, "PatchVolumeAttachment1", 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(); + _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; + } + /// /// Headers that will be added to request. /// @@ -151205,6 +151000,189 @@ namespace k8s return _result; } + /// + /// patch the specified cluster scoped custom object + /// + /// + /// The JSON schema of the Resource to patch. + /// + /// + /// the custom resource's group + /// + /// + /// the custom resource's version + /// + /// + /// the custom object's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// 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> PatchClusterCustomObjectWithHttpMessagesAsync(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"); + } + 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; + string _invocationId = null; + if (_shouldTrace) + { + _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, "PatchClusterCustomObject", tracingParameters); + } + // Construct URL + var _baseUrl = BaseUri.AbsoluteUri; + 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("{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("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/merge-patch+json"); + } + // 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; + } + /// /// Deletes the specified cluster scoped custom object /// @@ -151787,6 +151765,198 @@ namespace k8s return _result; } + /// + /// 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 + /// + /// + /// 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> 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"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _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, "PatchNamespacedCustomObject", 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(); + _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("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/merge-patch+json"); + } + // 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; + } + /// /// Deletes the specified namespace scoped custom object /// diff --git a/src/generated/KubernetesExtensions.cs b/src/generated/KubernetesExtensions.cs index 64ced6e..6a5574e 100644 --- a/src/generated/KubernetesExtensions.cs +++ b/src/generated/KubernetesExtensions.cs @@ -137,7 +137,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -213,7 +214,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -335,7 +337,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -411,7 +414,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -493,7 +497,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -569,7 +574,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -651,7 +657,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -727,7 +734,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -809,7 +817,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -885,7 +894,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -964,7 +974,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1040,7 +1051,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1207,7 +1219,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1286,7 +1299,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1415,7 +1429,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1494,7 +1509,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1835,7 +1851,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -1914,7 +1931,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2043,7 +2061,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2122,7 +2141,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2463,7 +2483,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2542,7 +2563,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2671,7 +2693,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -2750,7 +2773,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3091,7 +3115,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3170,7 +3195,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3299,7 +3325,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3378,7 +3405,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3719,7 +3747,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3798,7 +3827,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -3927,7 +3957,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4006,7 +4037,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4493,7 +4525,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4572,7 +4605,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4701,7 +4735,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -4780,7 +4815,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6492,7 +6528,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6571,7 +6608,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6700,7 +6738,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -6779,7 +6818,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7120,7 +7160,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7199,7 +7240,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7328,7 +7370,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -7407,7 +7450,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8040,7 +8084,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8119,7 +8164,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8248,7 +8294,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8327,7 +8374,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8814,7 +8862,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -8893,7 +8942,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9022,7 +9072,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9101,7 +9152,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9442,7 +9494,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9521,7 +9574,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9650,7 +9704,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -9729,7 +9784,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10070,7 +10126,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10149,7 +10206,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -10331,18 +10389,42 @@ namespace k8s /// /// The operations group for this extension method. /// + /// + /// /// /// name of the Service /// /// /// 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 DeleteNamespacedService(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string)) + 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)) { - return operations.DeleteNamespacedServiceAsync(name, namespaceParameter, pretty).GetAwaiter().GetResult(); + return operations.DeleteNamespacedServiceAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); } /// @@ -10351,21 +10433,45 @@ namespace k8s /// /// The operations group for this extension method. /// + /// + /// /// /// name of the Service /// /// /// 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 DeleteNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + 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)) { - using (var _result = await operations.DeleteNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, pretty, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.DeleteNamespacedServiceWithHttpMessagesAsync(body, name, namespaceParameter, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -11717,7 +11823,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11793,7 +11900,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11913,7 +12021,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -11989,7 +12098,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -12950,7 +13060,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13026,7 +13137,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13105,7 +13217,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13181,7 +13294,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13301,7 +13415,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13377,7 +13492,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13822,7 +13938,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13898,7 +14015,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -13980,7 +14098,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14056,7 +14175,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -14073,1446 +14193,6 @@ namespace k8s } } - /// - /// proxy GET requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyGETNamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyGETNamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPUTNamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPUTNamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPOSTNamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPOSTNamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyDELETENamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyDELETENamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyHEADNamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyHEADNamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPATCHNamespacedPod(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPATCHNamespacedPodAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNamespacedPodAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNamespacedPodWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy GET requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyGETNamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyGETNamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPUTNamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPUTNamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPOSTNamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPOSTNamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyDELETENamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyDELETENamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyHEADNamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyHEADNamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPATCHNamespacedPodWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPATCHNamespacedPodWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Pod - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Pod - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNamespacedPodWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNamespacedPodWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy GET requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyGETNamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyGETNamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPUTNamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPUTNamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPOSTNamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPOSTNamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyDELETENamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyDELETENamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyHEADNamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyHEADNamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - public static Stream ProxyPATCHNamespacedService(this IKubernetes operations, string name, string namespaceParameter) - { - return operations.ProxyPATCHNamespacedServiceAsync(name, namespaceParameter).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNamespacedServiceAsync(this IKubernetes operations, string name, string namespaceParameter, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNamespacedServiceWithHttpMessagesAsync(name, namespaceParameter, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy GET requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyGETNamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyGETNamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPUTNamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPUTNamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPOSTNamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPOSTNamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyDELETENamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyDELETENamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyHEADNamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyHEADNamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - public static Stream ProxyPATCHNamespacedServiceWithPath(this IKubernetes operations, string name, string namespaceParameter, string path) - { - return operations.ProxyPATCHNamespacedServiceWithPathAsync(name, namespaceParameter, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Service - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Service - /// - /// - /// object name and auth scope, such as for teams and projects - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNamespacedServiceWithPathAsync(this IKubernetes operations, string name, string namespaceParameter, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNamespacedServiceWithPathWithHttpMessagesAsync(name, namespaceParameter, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy GET requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyGETNode(this IKubernetes operations, string name) - { - return operations.ProxyGETNodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyPUTNode(this IKubernetes operations, string name) - { - return operations.ProxyPUTNodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyPOSTNode(this IKubernetes operations, string name) - { - return operations.ProxyPOSTNodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyDELETENode(this IKubernetes operations, string name) - { - return operations.ProxyDELETENodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyHEADNode(this IKubernetes operations, string name) - { - return operations.ProxyHEADNodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - public static Stream ProxyPATCHNode(this IKubernetes operations, string name) - { - return operations.ProxyPATCHNodeAsync(name).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNodeAsync(this IKubernetes operations, string name, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNodeWithHttpMessagesAsync(name, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy GET requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyGETNodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyGETNodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy GET requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyGETNodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyGETNodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PUT requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyPUTNodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyPUTNodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PUT requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPUTNodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPUTNodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy POST requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyPOSTNodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyPOSTNodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy POST requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPOSTNodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPOSTNodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyDELETENodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyDELETENodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy DELETE requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyDELETENodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyDELETENodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyHEADNodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyHEADNodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy HEAD requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyHEADNodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyHEADNodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - public static Stream ProxyPATCHNodeWithPath(this IKubernetes operations, string name, string path) - { - return operations.ProxyPATCHNodeWithPathAsync(name, path).GetAwaiter().GetResult(); - } - - /// - /// proxy PATCH requests to Node - /// - /// - /// The operations group for this extension method. - /// - /// - /// name of the Node - /// - /// - /// path to the resource - /// - /// - /// The cancellation token. - /// - public static async Task ProxyPATCHNodeWithPathAsync(this IKubernetes operations, string name, string path, CancellationToken cancellationToken = default(CancellationToken)) - { - var _result = await operations.ProxyPATCHNodeWithPathWithHttpMessagesAsync(name, path, null, cancellationToken).ConfigureAwait(false); - _result.Request.Dispose(); - return _result.Body; - } - /// /// list or watch objects of kind ReplicationController /// @@ -15578,7 +14258,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15654,7 +14335,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15736,7 +14418,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15812,7 +14495,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15894,7 +14578,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -15970,7 +14655,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16052,7 +14738,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16128,7 +14815,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16210,7 +14898,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16286,7 +14975,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16449,7 +15139,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16525,7 +15216,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16645,7 +15337,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -16721,7 +15414,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17063,7 +15757,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17139,7 +15834,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17259,7 +15955,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17335,7 +16032,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17649,7 +16347,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17725,7 +16424,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17845,7 +16545,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -17921,7 +16622,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18291,7 +16993,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18367,7 +17070,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18487,7 +17191,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18563,7 +17268,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18977,7 +17683,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -18986,7 +17693,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIServiceList ListAPIService(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 V1APIServiceList ListAPIService(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.ListAPIServiceAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } @@ -19053,7 +17760,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19065,7 +17773,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task ListAPIServiceAsync(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 ListAPIServiceAsync(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.ListAPIServiceWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19084,7 +17792,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIService CreateAPIService(this IKubernetes operations, V1beta1APIService body, string pretty = default(string)) + public static V1APIService CreateAPIService(this IKubernetes operations, V1APIService body, string pretty = default(string)) { return operations.CreateAPIServiceAsync(body, pretty).GetAwaiter().GetResult(); } @@ -19103,7 +17811,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task CreateAPIServiceAsync(this IKubernetes operations, V1beta1APIService body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateAPIServiceAsync(this IKubernetes operations, V1APIService body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateAPIServiceWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19173,7 +17881,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19249,7 +17958,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19289,7 +17999,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIService ReadAPIService(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + public static V1APIService ReadAPIService(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) { return operations.ReadAPIServiceAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } @@ -19317,7 +18027,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task ReadAPIServiceAsync(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 ReadAPIServiceAsync(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.ReadAPIServiceWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19339,7 +18049,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIService ReplaceAPIService(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string)) + public static V1APIService ReplaceAPIService(this IKubernetes operations, V1APIService body, string name, string pretty = default(string)) { return operations.ReplaceAPIServiceAsync(body, name, pretty).GetAwaiter().GetResult(); } @@ -19361,7 +18071,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task ReplaceAPIServiceAsync(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceAPIServiceAsync(this IKubernetes operations, V1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ReplaceAPIServiceWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19471,7 +18181,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIService PatchAPIService(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static V1APIService PatchAPIService(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { return operations.PatchAPIServiceAsync(body, name, pretty).GetAwaiter().GetResult(); } @@ -19493,7 +18203,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task PatchAPIServiceAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task PatchAPIServiceAsync(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PatchAPIServiceWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19515,7 +18225,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1APIService ReplaceAPIServiceStatus(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string)) + public static V1APIService ReplaceAPIServiceStatus(this IKubernetes operations, V1APIService body, string name, string pretty = default(string)) { return operations.ReplaceAPIServiceStatusAsync(body, name, pretty).GetAwaiter().GetResult(); } @@ -19537,7 +18247,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task ReplaceAPIServiceStatusAsync(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ReplaceAPIServiceStatusAsync(this IKubernetes operations, V1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ReplaceAPIServiceStatusWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -19545,6 +18255,668 @@ namespace k8s } } + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + public static V1APIResourceList GetAPIResources5(this IKubernetes operations) + { + return operations.GetAPIResources5Async().GetAwaiter().GetResult(); + } + + /// + /// get available resources + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task GetAPIResources5Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetAPIResources5WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// list or watch objects of kind APIService + /// + /// + /// 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. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return 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 V1beta1APIServiceList ListAPIService1(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.ListAPIService1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// list or watch objects of kind APIService + /// + /// + /// 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. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return 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 ListAPIService1Async(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.ListAPIService1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create an APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static V1beta1APIService CreateAPIService1(this IKubernetes operations, V1beta1APIService body, string pretty = default(string)) + { + return operations.CreateAPIService1Async(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create an APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + public static async Task CreateAPIService1Async(this IKubernetes operations, V1beta1APIService body, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateAPIService1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete collection of APIService + /// + /// + /// 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. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return 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 DeleteCollectionAPIService1(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.DeleteCollectionAPIService1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete collection of APIService + /// + /// + /// 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. + /// + /// + /// When specified with a watch call, shows changes that occur after that + /// particular version of a resource. Defaults to changes from the beginning of + /// history. When specified for list: - if unset, then the result is returned + /// from remote storage based on quorum-read flag; - if it's 0, then we simply + /// return 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 DeleteCollectionAPIService1Async(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.DeleteCollectionAPIService1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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. + /// + public static V1beta1APIService ReadAPIService1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadAPIService1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async Task ReadAPIService1Async(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.ReadAPIService1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace 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 ReplaceAPIService1(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string)) + { + return operations.ReplaceAPIService1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace 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 ReplaceAPIService1Async(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceAPIService1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete an APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// 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. + /// + /// + /// 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 DeleteAPIService1(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.DeleteAPIService1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete an APIService + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// 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. + /// + /// + /// 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 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)) + { + using (var _result = await operations.DeleteAPIService1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update 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 PatchAPIService1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchAPIService1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update 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 PatchAPIService1Async(this IKubernetes operations, V1Patch body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchAPIService1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace 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 ReplaceAPIServiceStatus1(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string)) + { + return operations.ReplaceAPIServiceStatus1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace 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 ReplaceAPIServiceStatus1Async(this IKubernetes operations, V1beta1APIService body, string name, string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ReplaceAPIServiceStatus1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// get information of a group /// @@ -19579,9 +18951,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources5(this IKubernetes operations) + public static V1APIResourceList GetAPIResources6(this IKubernetes operations) { - return operations.GetAPIResources5Async().GetAwaiter().GetResult(); + return operations.GetAPIResources6Async().GetAwaiter().GetResult(); } /// @@ -19593,9 +18965,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources5Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources6Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources5WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources6WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -19666,7 +19038,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19742,7 +19115,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19824,7 +19198,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19900,7 +19275,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -19982,7 +19358,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20058,7 +19435,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20140,7 +19518,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20219,7 +19598,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20348,7 +19728,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20427,7 +19808,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20768,7 +20150,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20847,7 +20230,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -20976,7 +20360,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21055,7 +20440,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21542,7 +20928,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21621,7 +21008,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21750,7 +21138,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -21829,7 +21218,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22462,7 +21852,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22541,7 +21932,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22670,7 +22062,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -22749,7 +22142,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23382,7 +22776,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23461,7 +22856,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23590,7 +22986,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -23669,7 +23066,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24302,7 +23700,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24378,7 +23777,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24460,7 +23860,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24536,7 +23937,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24559,9 +23961,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources6(this IKubernetes operations) + public static V1APIResourceList GetAPIResources7(this IKubernetes operations) { - return operations.GetAPIResources6Async().GetAwaiter().GetResult(); + return operations.GetAPIResources7Async().GetAwaiter().GetResult(); } /// @@ -24573,9 +23975,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources6Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources6WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -24646,7 +24048,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24722,7 +24125,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24804,7 +24208,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24880,7 +24285,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -24962,7 +24368,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25041,7 +24448,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25170,7 +24578,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25249,7 +24658,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25590,7 +25000,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25669,7 +25080,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25798,7 +25210,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -25877,7 +25290,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26560,7 +25974,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26639,7 +26054,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26768,7 +26184,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -26847,7 +26264,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27480,7 +26898,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27556,7 +26975,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27579,9 +26999,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources7(this IKubernetes operations) + public static V1APIResourceList GetAPIResources8(this IKubernetes operations) { - return operations.GetAPIResources7Async().GetAwaiter().GetResult(); + return operations.GetAPIResources8Async().GetAwaiter().GetResult(); } /// @@ -27593,9 +27013,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources7Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources7WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -27666,7 +27086,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27742,7 +27163,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27824,7 +27246,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27900,7 +27323,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -27982,7 +27406,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28058,7 +27483,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28140,7 +27566,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28219,7 +27646,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28348,7 +27776,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28427,7 +27856,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28768,7 +28198,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28847,7 +28278,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -28976,7 +28408,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -29055,7 +28488,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -29542,7 +28976,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -29621,7 +29056,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -29750,7 +29186,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -29829,7 +29266,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -30462,7 +29900,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -30541,7 +29980,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -30670,7 +30110,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -30749,7 +30190,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -31382,7 +30824,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -31461,7 +30904,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -31590,7 +31034,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -31669,7 +31114,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -32302,7 +31748,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -32378,7 +31825,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -32460,7 +31908,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -32536,7 +31985,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -32587,9 +32037,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources8(this IKubernetes operations) + public static V1APIResourceList GetAPIResources9(this IKubernetes operations) { - return operations.GetAPIResources8Async().GetAwaiter().GetResult(); + return operations.GetAPIResources9Async().GetAwaiter().GetResult(); } /// @@ -32601,9 +32051,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources8Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources8WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -32653,9 +32103,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources9(this IKubernetes operations) + public static V1APIResourceList GetAPIResources10(this IKubernetes operations) { - return operations.GetAPIResources9Async().GetAwaiter().GetResult(); + return operations.GetAPIResources10Async().GetAwaiter().GetResult(); } /// @@ -32667,9 +32117,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources9Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources9WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -32747,9 +32197,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources10(this IKubernetes operations) + public static V1APIResourceList GetAPIResources11(this IKubernetes operations) { - return operations.GetAPIResources10Async().GetAwaiter().GetResult(); + return operations.GetAPIResources11Async().GetAwaiter().GetResult(); } /// @@ -32761,9 +32211,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources10Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources10WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -32933,9 +32383,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources11(this IKubernetes operations) + public static V1APIResourceList GetAPIResources12(this IKubernetes operations) { - return operations.GetAPIResources11Async().GetAwaiter().GetResult(); + return operations.GetAPIResources12Async().GetAwaiter().GetResult(); } /// @@ -32947,9 +32397,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources11Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources11WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -33147,9 +32597,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources12(this IKubernetes operations) + public static V1APIResourceList GetAPIResources13(this IKubernetes operations) { - return operations.GetAPIResources12Async().GetAwaiter().GetResult(); + return operations.GetAPIResources13Async().GetAwaiter().GetResult(); } /// @@ -33161,9 +32611,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources12Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources12WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -33234,7 +32684,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -33310,7 +32761,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -33392,7 +32844,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -33471,7 +32924,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -33600,7 +33054,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -33679,7 +33134,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34107,9 +33563,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources13(this IKubernetes operations) + public static V1APIResourceList GetAPIResources14(this IKubernetes operations) { - return operations.GetAPIResources13Async().GetAwaiter().GetResult(); + return operations.GetAPIResources14Async().GetAwaiter().GetResult(); } /// @@ -34121,9 +33577,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources13Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources13WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -34194,7 +33650,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34270,7 +33727,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34352,7 +33810,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34431,7 +33890,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34560,7 +34020,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -34639,7 +34100,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35095,9 +34557,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources14(this IKubernetes operations) + public static V1APIResourceList GetAPIResources15(this IKubernetes operations) { - return operations.GetAPIResources14Async().GetAwaiter().GetResult(); + return operations.GetAPIResources15Async().GetAwaiter().GetResult(); } /// @@ -35109,9 +34571,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources14Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources14WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -35182,7 +34644,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35258,7 +34721,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35340,7 +34804,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35419,7 +34884,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35548,7 +35014,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -35627,7 +35094,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36055,9 +35523,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources15(this IKubernetes operations) + public static V1APIResourceList GetAPIResources16(this IKubernetes operations) { - return operations.GetAPIResources15Async().GetAwaiter().GetResult(); + return operations.GetAPIResources16Async().GetAwaiter().GetResult(); } /// @@ -36069,9 +35537,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources15Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources15WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -36142,7 +35610,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36218,7 +35687,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36300,7 +35770,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36379,7 +35850,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36508,7 +35980,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -36587,7 +36060,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37015,9 +36489,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources16(this IKubernetes operations) + public static V1APIResourceList GetAPIResources17(this IKubernetes operations) { - return operations.GetAPIResources16Async().GetAwaiter().GetResult(); + return operations.GetAPIResources17Async().GetAwaiter().GetResult(); } /// @@ -37029,9 +36503,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources16Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources16WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -37102,7 +36576,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37178,7 +36653,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37260,7 +36736,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37339,7 +36816,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37468,7 +36946,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -37547,7 +37026,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38003,9 +37483,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources17(this IKubernetes operations) + public static V1APIResourceList GetAPIResources18(this IKubernetes operations) { - return operations.GetAPIResources17Async().GetAwaiter().GetResult(); + return operations.GetAPIResources18Async().GetAwaiter().GetResult(); } /// @@ -38017,9 +37497,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources17Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources17WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -38087,7 +37567,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38163,7 +37644,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38283,7 +37765,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38359,7 +37842,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38733,9 +38217,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources18(this IKubernetes operations) + public static V1APIResourceList GetAPIResources19(this IKubernetes operations) { - return operations.GetAPIResources18Async().GetAwaiter().GetResult(); + return operations.GetAPIResources19Async().GetAwaiter().GetResult(); } /// @@ -38747,9 +38231,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources18Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources18WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -38820,7 +38304,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38896,7 +38381,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -38978,7 +38464,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39057,7 +38544,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39186,7 +38674,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39265,7 +38754,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39575,9 +39065,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources19(this IKubernetes operations) + public static V1APIResourceList GetAPIResources20(this IKubernetes operations) { - return operations.GetAPIResources19Async().GetAwaiter().GetResult(); + return operations.GetAPIResources20Async().GetAwaiter().GetResult(); } /// @@ -39589,9 +39079,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources19Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources19WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -39662,7 +39152,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39738,7 +39229,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39820,7 +39312,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39896,7 +39389,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -39978,7 +39472,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40054,7 +39549,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40136,7 +39632,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40215,7 +39712,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40344,7 +39842,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40423,7 +39922,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40910,7 +40410,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -40989,7 +40490,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -41118,7 +40620,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -41197,7 +40700,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -41880,7 +41384,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -41959,7 +41464,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42088,7 +41594,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42167,7 +41674,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42654,7 +42162,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42733,7 +42242,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42862,7 +42372,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -42941,7 +42452,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43282,7 +42794,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43361,7 +42874,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43490,7 +43004,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -43569,7 +43084,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44348,7 +43864,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44424,7 +43941,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44503,7 +44021,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44512,7 +44031,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodSecurityPolicyList 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 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.ListPodSecurityPolicyAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); } @@ -44579,7 +44098,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44591,7 +44111,7 @@ namespace k8s /// /// 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 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.ListPodSecurityPolicyWithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -44610,7 +44130,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, V1beta1PodSecurityPolicy body, string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy CreatePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string pretty = default(string)) { return operations.CreatePodSecurityPolicyAsync(body, pretty).GetAwaiter().GetResult(); } @@ -44629,7 +44149,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task CreatePodSecurityPolicyAsync(this IKubernetes operations, V1beta1PodSecurityPolicy body, 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.CreatePodSecurityPolicyWithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -44699,7 +44219,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44775,7 +44296,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -44815,7 +44337,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodSecurityPolicy ReadPodSecurityPolicy(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), 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.ReadPodSecurityPolicyAsync(name, exact, export, pretty).GetAwaiter().GetResult(); } @@ -44843,7 +44365,7 @@ namespace k8s /// /// 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 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.ReadPodSecurityPolicyWithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -44865,7 +44387,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, V1beta1PodSecurityPolicy body, string name, string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy ReplacePodSecurityPolicy(this IKubernetes operations, Extensionsv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) { return operations.ReplacePodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); } @@ -44887,7 +44409,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task ReplacePodSecurityPolicyAsync(this IKubernetes operations, V1beta1PodSecurityPolicy body, string name, 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.ReplacePodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -44997,7 +44519,7 @@ namespace k8s /// /// If 'true', then the output is pretty printed. /// - public static V1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + public static Extensionsv1beta1PodSecurityPolicy PatchPodSecurityPolicy(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) { return operations.PatchPodSecurityPolicyAsync(body, name, pretty).GetAwaiter().GetResult(); } @@ -45019,7 +44541,7 @@ namespace k8s /// /// The cancellation token. /// - public static async Task PatchPodSecurityPolicyAsync(this IKubernetes operations, V1Patch body, string name, 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.PatchPodSecurityPolicyWithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) { @@ -45092,7 +44614,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45168,7 +44691,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45219,9 +44743,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources20(this IKubernetes operations) + public static V1APIResourceList GetAPIResources21(this IKubernetes operations) { - return operations.GetAPIResources20Async().GetAwaiter().GetResult(); + return operations.GetAPIResources21Async().GetAwaiter().GetResult(); } /// @@ -45233,9 +44757,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources20Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources20WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -45306,7 +44830,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45385,7 +44910,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45514,7 +45040,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45593,7 +45120,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -45934,7 +45462,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46010,7 +45539,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46061,9 +45591,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources21(this IKubernetes operations) + public static V1APIResourceList GetAPIResources22(this IKubernetes operations) { - return operations.GetAPIResources21Async().GetAwaiter().GetResult(); + return operations.GetAPIResources22Async().GetAwaiter().GetResult(); } /// @@ -46075,9 +45605,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources21Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources21WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -46148,7 +45678,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46227,7 +45758,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46356,7 +45888,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46435,7 +45968,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46922,7 +46456,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -46998,7 +46533,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47015,6 +46551,596 @@ namespace k8s } } + /// + /// 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 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.ListPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// create a PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Policyv1beta1PodSecurityPolicy CreatePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string pretty = default(string)) + { + return operations.CreatePodSecurityPolicy1Async(body, pretty).GetAwaiter().GetResult(); + } + + /// + /// create a PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// 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)) + { + using (var _result = await operations.CreatePodSecurityPolicy1WithHttpMessagesAsync(body, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 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.DeleteCollectionPodSecurityPolicy1Async(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult(); + } + + /// + /// 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 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.DeleteCollectionPodSecurityPolicy1WithHttpMessagesAsync(continueParameter, fieldSelector, includeUninitialized, labelSelector, limit, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// read the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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 Policyv1beta1PodSecurityPolicy ReadPodSecurityPolicy1(this IKubernetes operations, string name, bool? exact = default(bool?), bool? export = default(bool?), string pretty = default(string)) + { + return operations.ReadPodSecurityPolicy1Async(name, exact, export, pretty).GetAwaiter().GetResult(); + } + + /// + /// read the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// 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. + /// + /// + /// 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)) + { + using (var _result = await operations.ReadPodSecurityPolicy1WithHttpMessagesAsync(name, exact, export, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// replace the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Policyv1beta1PodSecurityPolicy ReplacePodSecurityPolicy1(this IKubernetes operations, Policyv1beta1PodSecurityPolicy body, string name, string pretty = default(string)) + { + return operations.ReplacePodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// replace the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + 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.ReplacePodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// delete a PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// 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 DeletePodSecurityPolicy1(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.DeletePodSecurityPolicy1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// 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 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)) + { + using (var _result = await operations.DeletePodSecurityPolicy1WithHttpMessagesAsync(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// partially update the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + public static Policyv1beta1PodSecurityPolicy PatchPodSecurityPolicy1(this IKubernetes operations, V1Patch body, string name, string pretty = default(string)) + { + return operations.PatchPodSecurityPolicy1Async(body, name, pretty).GetAwaiter().GetResult(); + } + + /// + /// partially update the specified PodSecurityPolicy + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// name of the PodSecurityPolicy + /// + /// + /// If 'true', then the output is pretty printed. + /// + /// + /// The cancellation token. + /// + 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.PatchPodSecurityPolicy1WithHttpMessagesAsync(body, name, pretty, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// get information of a group /// @@ -47049,9 +47175,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources22(this IKubernetes operations) + public static V1APIResourceList GetAPIResources23(this IKubernetes operations) { - return operations.GetAPIResources22Async().GetAwaiter().GetResult(); + return operations.GetAPIResources23Async().GetAwaiter().GetResult(); } /// @@ -47063,9 +47189,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources22Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources23Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources22WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources23WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -47133,7 +47259,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47209,7 +47336,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47329,7 +47457,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47405,7 +47534,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47703,7 +47833,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47779,7 +47910,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47899,7 +48031,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -47975,7 +48108,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48276,7 +48410,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48355,7 +48490,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48484,7 +48620,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48563,7 +48700,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48888,7 +49026,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -48967,7 +49106,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49096,7 +49236,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49175,7 +49316,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49500,7 +49642,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49576,7 +49719,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49658,7 +49802,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49734,7 +49879,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49757,9 +49903,9 @@ namespace k8s /// /// 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(); } /// @@ -49771,9 +49917,9 @@ namespace k8s /// /// 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; } @@ -49841,7 +49987,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -49917,7 +50064,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50037,7 +50185,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50113,7 +50262,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50411,7 +50561,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50487,7 +50638,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50607,7 +50759,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50683,7 +50836,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -50984,7 +51138,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51063,7 +51218,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51192,7 +51348,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51271,7 +51428,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51596,7 +51754,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51675,7 +51834,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51804,7 +51964,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -51883,7 +52044,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52208,7 +52370,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52284,7 +52447,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52366,7 +52530,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52442,7 +52607,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52465,9 +52631,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources24(this IKubernetes operations) + public static V1APIResourceList GetAPIResources25(this IKubernetes operations) { - return operations.GetAPIResources24Async().GetAwaiter().GetResult(); + return operations.GetAPIResources25Async().GetAwaiter().GetResult(); } /// @@ -52479,9 +52645,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources24Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources24WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -52549,7 +52715,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52625,7 +52792,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52745,7 +52913,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -52821,7 +52990,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53119,7 +53289,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53195,7 +53366,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53315,7 +53487,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53391,7 +53564,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53692,7 +53866,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53771,7 +53946,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53900,7 +54076,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -53979,7 +54156,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54304,7 +54482,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54383,7 +54562,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54512,7 +54692,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54591,7 +54772,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54916,7 +55098,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -54992,7 +55175,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55074,7 +55258,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55150,7 +55335,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55201,9 +55387,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources25(this IKubernetes operations) + public static V1APIResourceList GetAPIResources26(this IKubernetes operations) { - return operations.GetAPIResources25Async().GetAwaiter().GetResult(); + return operations.GetAPIResources26Async().GetAwaiter().GetResult(); } /// @@ -55215,9 +55401,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources25Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources25WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -55285,7 +55471,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55361,7 +55548,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55481,7 +55669,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55557,7 +55746,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -55843,9 +56033,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources26(this IKubernetes operations) + public static V1APIResourceList GetAPIResources27(this IKubernetes operations) { - return operations.GetAPIResources26Async().GetAwaiter().GetResult(); + return operations.GetAPIResources27Async().GetAwaiter().GetResult(); } /// @@ -55857,9 +56047,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources26Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources26WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -55930,7 +56120,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56009,7 +56200,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56138,7 +56330,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56217,7 +56410,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56558,7 +56752,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56634,7 +56829,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56685,9 +56881,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources27(this IKubernetes operations) + public static V1APIResourceList GetAPIResources28(this IKubernetes operations) { - return operations.GetAPIResources27Async().GetAwaiter().GetResult(); + return operations.GetAPIResources28Async().GetAwaiter().GetResult(); } /// @@ -56699,9 +56895,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources27Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources28Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources27WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources28WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -56769,7 +56965,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56845,7 +57042,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -56965,7 +57163,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57041,7 +57240,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57299,9 +57499,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources28(this IKubernetes operations) + public static V1APIResourceList GetAPIResources29(this IKubernetes operations) { - return operations.GetAPIResources28Async().GetAwaiter().GetResult(); + return operations.GetAPIResources29Async().GetAwaiter().GetResult(); } /// @@ -57313,9 +57513,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources28Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources29Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources28WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources29WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -57383,7 +57583,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57459,7 +57660,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57579,7 +57781,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57655,7 +57858,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -57913,9 +58117,9 @@ namespace k8s /// /// The operations group for this extension method. /// - public static V1APIResourceList GetAPIResources29(this IKubernetes operations) + public static V1APIResourceList GetAPIResources30(this IKubernetes operations) { - return operations.GetAPIResources29Async().GetAwaiter().GetResult(); + return operations.GetAPIResources30Async().GetAwaiter().GetResult(); } /// @@ -57927,9 +58131,9 @@ namespace k8s /// /// The cancellation token. /// - public static async Task GetAPIResources29Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAPIResources30Async(this IKubernetes operations, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetAPIResources29WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetAPIResources30WithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -57997,7 +58201,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -58073,7 +58278,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -58193,7 +58399,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -58269,7 +58476,8 @@ namespace k8s /// then the result is at least as fresh as given rv. /// /// - /// Timeout for the list/watch call. + /// 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 @@ -58521,6 +58729,596 @@ namespace k8s } } + /// + /// 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 indicating the client must restart their list without + /// the continue field. This field is not supported when watch is true. Clients + /// may start a watch from the 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 + /// + /// + /// 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, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), string pretty = default(string)) + { + return operations.DeleteVolumeAttachment1Async(body, name, gracePeriodSeconds, orphanDependents, propagationPolicy, pretty).GetAwaiter().GetResult(); + } + + /// + /// delete a VolumeAttachment + /// + /// + /// The operations group for this extension method. + /// + /// + /// + /// + /// 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 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)) + { + using (var _result = await operations.DeleteVolumeAttachment1WithHttpMessagesAsync(body, name, 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. /// @@ -58957,6 +59755,66 @@ namespace k8s } } + /// + /// patch the specified cluster 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 object's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + public static object PatchClusterCustomObject(this IKubernetes operations, object body, string group, string version, string plural, string name) + { + return operations.PatchClusterCustomObjectAsync(body, group, version, plural, name).GetAwaiter().GetResult(); + } + + /// + /// patch the specified cluster 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 object's plural name. For TPRs this would be lowercase plural + /// kind. + /// + /// + /// the custom object's name + /// + /// + /// The cancellation token. + /// + public static async Task PatchClusterCustomObjectAsync(this IKubernetes operations, object body, string group, string version, string plural, string name, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.PatchClusterCustomObjectWithHttpMessagesAsync(body, group, version, plural, name, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Deletes the specified cluster scoped custom object /// @@ -59173,6 +60031,72 @@ namespace k8s } } + /// + /// 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 /// diff --git a/src/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs b/src/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs new file mode 100644 index 0000000..a38454e --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1AllowedFlexVolume.cs @@ -0,0 +1,65 @@ +// +// 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; + + /// + /// AllowedFlexVolume represents a single Flexvolume that is allowed to be + /// used. + /// + public partial class Extensionsv1beta1AllowedFlexVolume + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1AllowedFlexVolume class. + /// + public Extensionsv1beta1AllowedFlexVolume() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1AllowedFlexVolume class. + /// + /// Driver is the name of the Flexvolume + /// driver. + public Extensionsv1beta1AllowedFlexVolume(string driver) + { + Driver = driver; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets driver is the name of the Flexvolume driver. + /// + [JsonProperty(PropertyName = "driver")] + public string Driver { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Driver == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Driver"); + } + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1AllowedHostPath.cs b/src/generated/Models/Extensionsv1beta1AllowedHostPath.cs new file mode 100644 index 0000000..90c4d2f --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1AllowedHostPath.cs @@ -0,0 +1,60 @@ +// +// 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; + + /// + /// 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 Extensionsv1beta1AllowedHostPath + { + /// + /// Initializes a new instance of the Extensionsv1beta1AllowedHostPath + /// class. + /// + public Extensionsv1beta1AllowedHostPath() + { + CustomInit(); + } + + /// + /// 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. + /// + /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` + /// would not allow `/food` or `/etc/foo` + public Extensionsv1beta1AllowedHostPath(string pathPrefix = default(string)) + { + PathPrefix = pathPrefix; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + 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. + /// + /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` + /// would not allow `/food` or `/etc/foo` + /// + [JsonProperty(PropertyName = "pathPrefix")] + public string PathPrefix { get; set; } + + } +} diff --git a/src/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs b/src/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs new file mode 100644 index 0000000..b594cfc --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1FSGroupStrategyOptions.cs @@ -0,0 +1,66 @@ +// +// 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; + + /// + /// FSGroupStrategyOptions defines the strategy type and options used to + /// create the strategy. + /// + public partial class Extensionsv1beta1FSGroupStrategyOptions + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1FSGroupStrategyOptions class. + /// + public Extensionsv1beta1FSGroupStrategyOptions() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1FSGroupStrategyOptions class. + /// + /// 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 + /// FSGroup is used in the SecurityContext. + public Extensionsv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) + { + Ranges = ranges; + Rule = rule; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// 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. + /// + [JsonProperty(PropertyName = "ranges")] + public IList Ranges { get; set; } + + /// + /// Gets or sets rule is the strategy that will dictate what FSGroup is + /// used in the SecurityContext. + /// + [JsonProperty(PropertyName = "rule")] + public string Rule { get; set; } + + } +} diff --git a/src/generated/Models/Extensionsv1beta1HostPortRange.cs b/src/generated/Models/Extensionsv1beta1HostPortRange.cs new file mode 100644 index 0000000..12077ad --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1HostPortRange.cs @@ -0,0 +1,69 @@ +// +// 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; + + /// + /// 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. + /// + public partial class Extensionsv1beta1HostPortRange + { + /// + /// Initializes a new instance of the Extensionsv1beta1HostPortRange + /// class. + /// + public Extensionsv1beta1HostPortRange() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Extensionsv1beta1HostPortRange + /// class. + /// + /// max is the end of the range, inclusive. + /// min is the start of the range, inclusive. + public Extensionsv1beta1HostPortRange(int max, int min) + { + Max = max; + Min = min; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets max is the end of the range, inclusive. + /// + [JsonProperty(PropertyName = "max")] + public int Max { get; set; } + + /// + /// Gets or sets min is the start of the range, inclusive. + /// + [JsonProperty(PropertyName = "min")] + public int Min { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1IDRange.cs b/src/generated/Models/Extensionsv1beta1IDRange.cs new file mode 100644 index 0000000..e23eee3 --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1IDRange.cs @@ -0,0 +1,65 @@ +// +// 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; + + /// + /// ID Range provides a min/max of an allowed range of IDs. + /// + public partial class Extensionsv1beta1IDRange + { + /// + /// Initializes a new instance of the Extensionsv1beta1IDRange class. + /// + public Extensionsv1beta1IDRange() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Extensionsv1beta1IDRange class. + /// + /// Max is the end of the range, inclusive. + /// Min is the start of the range, inclusive. + public Extensionsv1beta1IDRange(long max, long min) + { + Max = max; + Min = min; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets max is the end of the range, inclusive. + /// + [JsonProperty(PropertyName = "max")] + public long Max { get; set; } + + /// + /// Gets or sets min is the start of the range, inclusive. + /// + [JsonProperty(PropertyName = "min")] + public long Min { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs b/src/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs new file mode 100644 index 0000000..4c4a831 --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1PodSecurityPolicy.cs @@ -0,0 +1,109 @@ +// +// 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; + + /// + /// Pod Security Policy governs the ability to make requests that affect + /// the Security Context that will be applied to a pod and container. + /// + public partial class Extensionsv1beta1PodSecurityPolicy + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicy class. + /// + public Extensionsv1beta1PodSecurityPolicy() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicy 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 + /// Standard object's metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// spec defines the policy enforced. + public Extensionsv1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1PodSecurityPolicySpec spec = default(Extensionsv1beta1PodSecurityPolicySpec)) + { + 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 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 spec defines the policy enforced. + /// + [JsonProperty(PropertyName = "spec")] + public Extensionsv1beta1PodSecurityPolicySpec Spec { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metadata != null) + { + Metadata.Validate(); + } + if (Spec != null) + { + Spec.Validate(); + } + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs b/src/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs new file mode 100644 index 0000000..3f88596 --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1PodSecurityPolicyList.cs @@ -0,0 +1,117 @@ +// +// 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; + + /// + /// Pod Security Policy List is a list of PodSecurityPolicy objects. + /// + public partial class Extensionsv1beta1PodSecurityPolicyList + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicyList class. + /// + public Extensionsv1beta1PodSecurityPolicyList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicyList 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 Extensionsv1beta1PodSecurityPolicyList(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/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs b/src/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs new file mode 100644 index 0000000..f5a881e --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1PodSecurityPolicySpec.cs @@ -0,0 +1,312 @@ +// +// 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; + + /// + /// Pod Security Policy Spec defines the policy enforced. + /// + public partial class Extensionsv1beta1PodSecurityPolicySpec + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicySpec class. + /// + public Extensionsv1beta1PodSecurityPolicySpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1PodSecurityPolicySpec class. + /// + /// 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 + /// that will dictate what supplemental groups are used by the + /// SecurityContext. + /// AllowPrivilegeEscalation + /// determines if a pod can request to allow privilege escalation. If + /// unspecified, defaults to true. + /// 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 + /// 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 + /// 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. + /// DefaultAllowPrivilegeEscalation + /// controls the default setting for whether a process can gain more + /// privileges than its parent process. + /// hostIPC determines if the policy allows the + /// use of HostIPC in the pod spec. + /// hostNetwork determines if the policy + /// allows the use of HostNetwork in the pod spec. + /// hostPID determines if the policy allows the + /// use of HostPID in the pod spec. + /// hostPorts determines which host port ranges + /// are allowed to be exposed. + /// privileged determines if a pod can request + /// to be run as privileged. + /// 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 + /// 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)) + { + AllowPrivilegeEscalation = allowPrivilegeEscalation; + AllowedCapabilities = allowedCapabilities; + AllowedFlexVolumes = allowedFlexVolumes; + AllowedHostPaths = allowedHostPaths; + DefaultAddCapabilities = defaultAddCapabilities; + DefaultAllowPrivilegeEscalation = defaultAllowPrivilegeEscalation; + FsGroup = fsGroup; + HostIPC = hostIPC; + HostNetwork = hostNetwork; + HostPID = hostPID; + HostPorts = hostPorts; + Privileged = privileged; + ReadOnlyRootFilesystem = readOnlyRootFilesystem; + RequiredDropCapabilities = requiredDropCapabilities; + RunAsUser = runAsUser; + SeLinux = seLinux; + SupplementalGroups = supplementalGroups; + Volumes = volumes; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets allowPrivilegeEscalation determines if a pod can + /// request to allow privilege escalation. If unspecified, defaults to + /// true. + /// + [JsonProperty(PropertyName = "allowPrivilegeEscalation")] + public bool? AllowPrivilegeEscalation { get; set; } + + /// + /// 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. + /// + [JsonProperty(PropertyName = "allowedCapabilities")] + public IList AllowedCapabilities { get; set; } + + /// + /// 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. + /// + [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. + /// + [JsonProperty(PropertyName = "allowedHostPaths")] + public IList AllowedHostPaths { 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. + /// + [JsonProperty(PropertyName = "defaultAddCapabilities")] + public IList DefaultAddCapabilities { get; set; } + + /// + /// Gets or sets defaultAllowPrivilegeEscalation controls the default + /// setting for whether a process can gain more privileges than its + /// parent process. + /// + [JsonProperty(PropertyName = "defaultAllowPrivilegeEscalation")] + public bool? DefaultAllowPrivilegeEscalation { get; set; } + + /// + /// Gets or sets fSGroup is the strategy that will dictate what fs + /// group is used by the SecurityContext. + /// + [JsonProperty(PropertyName = "fsGroup")] + public Extensionsv1beta1FSGroupStrategyOptions FsGroup { get; set; } + + /// + /// Gets or sets hostIPC determines if the policy allows the use of + /// HostIPC in the pod spec. + /// + [JsonProperty(PropertyName = "hostIPC")] + public bool? HostIPC { get; set; } + + /// + /// Gets or sets hostNetwork determines if the policy allows the use of + /// HostNetwork in the pod spec. + /// + [JsonProperty(PropertyName = "hostNetwork")] + public bool? HostNetwork { get; set; } + + /// + /// Gets or sets hostPID determines if the policy allows the use of + /// HostPID in the pod spec. + /// + [JsonProperty(PropertyName = "hostPID")] + public bool? HostPID { get; set; } + + /// + /// Gets or sets hostPorts determines which host port ranges are + /// allowed to be exposed. + /// + [JsonProperty(PropertyName = "hostPorts")] + public IList HostPorts { get; set; } + + /// + /// Gets or sets privileged determines if a pod can request to be run + /// as privileged. + /// + [JsonProperty(PropertyName = "privileged")] + public bool? Privileged { get; set; } + + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "readOnlyRootFilesystem")] + public bool? ReadOnlyRootFilesystem { get; set; } + + /// + /// Gets or sets requiredDropCapabilities are the capabilities that + /// will be dropped from the container. These are required to be + /// dropped and cannot be added. + /// + [JsonProperty(PropertyName = "requiredDropCapabilities")] + public IList RequiredDropCapabilities { get; set; } + + /// + /// Gets or sets runAsUser is the strategy that will dictate the + /// allowable RunAsUser values that may be set. + /// + [JsonProperty(PropertyName = "runAsUser")] + public Extensionsv1beta1RunAsUserStrategyOptions RunAsUser { get; set; } + + /// + /// Gets or sets seLinux is the strategy that will dictate the + /// allowable labels that may be set. + /// + [JsonProperty(PropertyName = "seLinux")] + public Extensionsv1beta1SELinuxStrategyOptions SeLinux { get; set; } + + /// + /// Gets or sets supplementalGroups is the strategy that will dictate + /// what supplemental groups are used by the SecurityContext. + /// + [JsonProperty(PropertyName = "supplementalGroups")] + public Extensionsv1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } + + /// + /// Gets or sets volumes is a white list of allowed volume plugins. + /// Empty indicates that all plugins may be used. + /// + [JsonProperty(PropertyName = "volumes")] + public IList Volumes { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (FsGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "FsGroup"); + } + if (RunAsUser == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "RunAsUser"); + } + if (SeLinux == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SeLinux"); + } + if (SupplementalGroups == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SupplementalGroups"); + } + if (AllowedFlexVolumes != null) + { + foreach (var element in AllowedFlexVolumes) + { + if (element != null) + { + element.Validate(); + } + } + } + if (HostPorts != null) + { + foreach (var element1 in HostPorts) + { + if (element1 != null) + { + element1.Validate(); + } + } + } + if (RunAsUser != null) + { + RunAsUser.Validate(); + } + if (SeLinux != null) + { + SeLinux.Validate(); + } + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs b/src/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.cs new file mode 100644 index 0000000..a5aa55c --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1RunAsUserStrategyOptions.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.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Run A sUser Strategy Options defines the strategy type and any options + /// used to create the strategy. + /// + public partial class Extensionsv1beta1RunAsUserStrategyOptions + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1RunAsUserStrategyOptions class. + /// + public Extensionsv1beta1RunAsUserStrategyOptions() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1RunAsUserStrategyOptions class. + /// + /// 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. + public Extensionsv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) + { + Ranges = ranges; + Rule = rule; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets ranges are the allowed ranges of uids that may be + /// used. + /// + [JsonProperty(PropertyName = "ranges")] + public IList Ranges { get; set; } + + /// + /// Gets or sets rule is the strategy that will dictate the allowable + /// RunAsUser values that may be set. + /// + [JsonProperty(PropertyName = "rule")] + public string Rule { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Rule == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Rule"); + } + if (Ranges != null) + { + foreach (var element in Ranges) + { + if (element != null) + { + element.Validate(); + } + } + } + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs b/src/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs new file mode 100644 index 0000000..ffb4ae8 --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1SELinuxStrategyOptions.cs @@ -0,0 +1,78 @@ +// +// 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; + + /// + /// SELinux Strategy Options defines the strategy type and any options + /// used to create the strategy. + /// + public partial class Extensionsv1beta1SELinuxStrategyOptions + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1SELinuxStrategyOptions class. + /// + public Extensionsv1beta1SELinuxStrategyOptions() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1SELinuxStrategyOptions class. + /// + /// type is the strategy that will dictate the + /// allowable labels that may be set. + /// seLinuxOptions required to run as; + /// required for MustRunAs More info: + /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + public Extensionsv1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) + { + Rule = rule; + SeLinuxOptions = seLinuxOptions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets type is the strategy that will dictate the allowable + /// labels that may be set. + /// + [JsonProperty(PropertyName = "rule")] + public string Rule { get; set; } + + /// + /// Gets or sets seLinuxOptions required to run as; required for + /// MustRunAs More info: + /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + /// + [JsonProperty(PropertyName = "seLinuxOptions")] + public V1SELinuxOptions SeLinuxOptions { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Rule == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Rule"); + } + } + } +} diff --git a/src/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs b/src/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs new file mode 100644 index 0000000..459ac66 --- /dev/null +++ b/src/generated/Models/Extensionsv1beta1SupplementalGroupsStrategyOptions.cs @@ -0,0 +1,66 @@ +// +// 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; + + /// + /// SupplementalGroupsStrategyOptions defines the strategy type and options + /// used to create the strategy. + /// + public partial class Extensionsv1beta1SupplementalGroupsStrategyOptions + { + /// + /// Initializes a new instance of the + /// Extensionsv1beta1SupplementalGroupsStrategyOptions class. + /// + public Extensionsv1beta1SupplementalGroupsStrategyOptions() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// Extensionsv1beta1SupplementalGroupsStrategyOptions class. + /// + /// 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 + /// supplemental groups is used in the SecurityContext. + public Extensionsv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) + { + Ranges = ranges; + Rule = rule; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// 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. + /// + [JsonProperty(PropertyName = "ranges")] + public IList Ranges { get; set; } + + /// + /// Gets or sets rule is the strategy that will dictate what + /// supplemental groups is used in the SecurityContext. + /// + [JsonProperty(PropertyName = "rule")] + public string Rule { get; set; } + + } +} diff --git a/src/generated/Models/V1beta1AllowedFlexVolume.cs b/src/generated/Models/Policyv1beta1AllowedFlexVolume.cs similarity index 78% rename from src/generated/Models/V1beta1AllowedFlexVolume.cs rename to src/generated/Models/Policyv1beta1AllowedFlexVolume.cs index 60d3021..d9791e5 100644 --- a/src/generated/Models/V1beta1AllowedFlexVolume.cs +++ b/src/generated/Models/Policyv1beta1AllowedFlexVolume.cs @@ -14,22 +14,24 @@ namespace k8s.Models /// AllowedFlexVolume represents a single Flexvolume that is allowed to be /// used. /// - public partial class V1beta1AllowedFlexVolume + public partial class Policyv1beta1AllowedFlexVolume { /// - /// Initializes a new instance of the V1beta1AllowedFlexVolume class. + /// Initializes a new instance of the Policyv1beta1AllowedFlexVolume + /// class. /// - public V1beta1AllowedFlexVolume() + public Policyv1beta1AllowedFlexVolume() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1AllowedFlexVolume class. + /// Initializes a new instance of the Policyv1beta1AllowedFlexVolume + /// class. /// /// Driver is the name of the Flexvolume /// driver. - public V1beta1AllowedFlexVolume(string driver) + public Policyv1beta1AllowedFlexVolume(string driver) { Driver = driver; CustomInit(); diff --git a/src/generated/Models/V1beta1AllowedHostPath.cs b/src/generated/Models/Policyv1beta1AllowedHostPath.cs similarity index 79% rename from src/generated/Models/V1beta1AllowedHostPath.cs rename to src/generated/Models/Policyv1beta1AllowedHostPath.cs index 9d91687..25da1c9 100644 --- a/src/generated/Models/V1beta1AllowedHostPath.cs +++ b/src/generated/Models/Policyv1beta1AllowedHostPath.cs @@ -13,18 +13,20 @@ namespace k8s.Models /// 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 V1beta1AllowedHostPath + public partial class Policyv1beta1AllowedHostPath { /// - /// Initializes a new instance of the V1beta1AllowedHostPath class. + /// Initializes a new instance of the Policyv1beta1AllowedHostPath + /// class. /// - public V1beta1AllowedHostPath() + public Policyv1beta1AllowedHostPath() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1AllowedHostPath class. + /// 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 @@ -32,7 +34,7 @@ namespace k8s.Models /// /// Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` /// would not allow `/food` or `/etc/foo` - public V1beta1AllowedHostPath(string pathPrefix = default(string)) + public Policyv1beta1AllowedHostPath(string pathPrefix = default(string)) { PathPrefix = pathPrefix; CustomInit(); diff --git a/src/generated/Models/V1beta1FSGroupStrategyOptions.cs b/src/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs similarity index 74% rename from src/generated/Models/V1beta1FSGroupStrategyOptions.cs rename to src/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs index 468a038..f421abb 100644 --- a/src/generated/Models/V1beta1FSGroupStrategyOptions.cs +++ b/src/generated/Models/Policyv1beta1FSGroupStrategyOptions.cs @@ -15,27 +15,27 @@ namespace k8s.Models /// FSGroupStrategyOptions defines the strategy type and options used to /// create the strategy. /// - public partial class V1beta1FSGroupStrategyOptions + public partial class Policyv1beta1FSGroupStrategyOptions { /// - /// Initializes a new instance of the V1beta1FSGroupStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1FSGroupStrategyOptions class. /// - public V1beta1FSGroupStrategyOptions() + public Policyv1beta1FSGroupStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1FSGroupStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1FSGroupStrategyOptions class. /// /// 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 /// FSGroup is used in the SecurityContext. - public V1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) + public Policyv1beta1FSGroupStrategyOptions(IList ranges = default(IList), string rule = default(string)) { Ranges = ranges; Rule = rule; @@ -53,7 +53,7 @@ namespace k8s.Models /// with the same start and end. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate what FSGroup is diff --git a/src/generated/Models/V1beta1HostPortRange.cs b/src/generated/Models/Policyv1beta1HostPortRange.cs similarity index 81% rename from src/generated/Models/V1beta1HostPortRange.cs rename to src/generated/Models/Policyv1beta1HostPortRange.cs index 7c54f4a..721d3d0 100644 --- a/src/generated/Models/V1beta1HostPortRange.cs +++ b/src/generated/Models/Policyv1beta1HostPortRange.cs @@ -14,22 +14,22 @@ namespace k8s.Models /// policy for pods to use. It requires both the start and end to be /// defined. /// - public partial class V1beta1HostPortRange + public partial class Policyv1beta1HostPortRange { /// - /// Initializes a new instance of the V1beta1HostPortRange class. + /// Initializes a new instance of the Policyv1beta1HostPortRange class. /// - public V1beta1HostPortRange() + public Policyv1beta1HostPortRange() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1HostPortRange class. + /// Initializes a new instance of the Policyv1beta1HostPortRange class. /// /// max is the end of the range, inclusive. /// min is the start of the range, inclusive. - public V1beta1HostPortRange(int max, int min) + public Policyv1beta1HostPortRange(int max, int min) { Max = max; Min = min; diff --git a/src/generated/Models/V1beta1IDRange.cs b/src/generated/Models/Policyv1beta1IDRange.cs similarity index 82% rename from src/generated/Models/V1beta1IDRange.cs rename to src/generated/Models/Policyv1beta1IDRange.cs index ed00771..8e6c08a 100644 --- a/src/generated/Models/V1beta1IDRange.cs +++ b/src/generated/Models/Policyv1beta1IDRange.cs @@ -12,22 +12,22 @@ namespace k8s.Models /// /// ID Range provides a min/max of an allowed range of IDs. /// - public partial class V1beta1IDRange + public partial class Policyv1beta1IDRange { /// - /// Initializes a new instance of the V1beta1IDRange class. + /// Initializes a new instance of the Policyv1beta1IDRange class. /// - public V1beta1IDRange() + public Policyv1beta1IDRange() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1IDRange class. + /// Initializes a new instance of the Policyv1beta1IDRange class. /// /// Max is the end of the range, inclusive. /// Min is the start of the range, inclusive. - public V1beta1IDRange(long max, long min) + public Policyv1beta1IDRange(long max, long min) { Max = max; Min = min; diff --git a/src/generated/Models/V1beta1PodSecurityPolicy.cs b/src/generated/Models/Policyv1beta1PodSecurityPolicy.cs similarity index 83% rename from src/generated/Models/V1beta1PodSecurityPolicy.cs rename to src/generated/Models/Policyv1beta1PodSecurityPolicy.cs index 4490d37..c49c1fd 100644 --- a/src/generated/Models/V1beta1PodSecurityPolicy.cs +++ b/src/generated/Models/Policyv1beta1PodSecurityPolicy.cs @@ -13,18 +13,20 @@ namespace k8s.Models /// Pod Security Policy governs the ability to make requests that affect /// the Security Context that will be applied to a pod and container. /// - public partial class V1beta1PodSecurityPolicy + public partial class Policyv1beta1PodSecurityPolicy { /// - /// Initializes a new instance of the V1beta1PodSecurityPolicy class. + /// Initializes a new instance of the Policyv1beta1PodSecurityPolicy + /// class. /// - public V1beta1PodSecurityPolicy() + public Policyv1beta1PodSecurityPolicy() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1PodSecurityPolicy class. + /// Initializes a new instance of the Policyv1beta1PodSecurityPolicy + /// class. /// /// APIVersion defines the versioned schema of /// this representation of an object. Servers should convert recognized @@ -39,7 +41,7 @@ namespace k8s.Models /// Standard object's metadata. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// spec defines the policy enforced. - public V1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1PodSecurityPolicySpec spec = default(V1beta1PodSecurityPolicySpec)) + public Policyv1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Policyv1beta1PodSecurityPolicySpec spec = default(Policyv1beta1PodSecurityPolicySpec)) { ApiVersion = apiVersion; Kind = kind; @@ -84,7 +86,7 @@ namespace k8s.Models /// Gets or sets spec defines the policy enforced. /// [JsonProperty(PropertyName = "spec")] - public V1beta1PodSecurityPolicySpec Spec { get; set; } + public Policyv1beta1PodSecurityPolicySpec Spec { get; set; } /// /// Validate the object. diff --git a/src/generated/Models/V1beta1PodSecurityPolicyList.cs b/src/generated/Models/Policyv1beta1PodSecurityPolicyList.cs similarity index 85% rename from src/generated/Models/V1beta1PodSecurityPolicyList.cs rename to src/generated/Models/Policyv1beta1PodSecurityPolicyList.cs index 0c3b719..8fdaa4d 100644 --- a/src/generated/Models/V1beta1PodSecurityPolicyList.cs +++ b/src/generated/Models/Policyv1beta1PodSecurityPolicyList.cs @@ -15,20 +15,20 @@ namespace k8s.Models /// /// Pod Security Policy List is a list of PodSecurityPolicy objects. /// - public partial class V1beta1PodSecurityPolicyList + public partial class Policyv1beta1PodSecurityPolicyList { /// - /// Initializes a new instance of the V1beta1PodSecurityPolicyList - /// class. + /// Initializes a new instance of the + /// Policyv1beta1PodSecurityPolicyList class. /// - public V1beta1PodSecurityPolicyList() + public Policyv1beta1PodSecurityPolicyList() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1PodSecurityPolicyList - /// class. + /// Initializes a new instance of the + /// Policyv1beta1PodSecurityPolicyList class. /// /// Items is a list of schema objects. /// APIVersion defines the versioned schema of @@ -43,7 +43,7 @@ namespace k8s.Models /// 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 V1beta1PodSecurityPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) + public Policyv1beta1PodSecurityPolicyList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; Items = items; @@ -71,7 +71,7 @@ namespace k8s.Models /// Gets or sets items is a list of schema objects. /// [JsonProperty(PropertyName = "items")] - public IList Items { get; set; } + public IList Items { get; set; } /// /// Gets or sets kind is a string value representing the REST resource diff --git a/src/generated/Models/V1beta1PodSecurityPolicySpec.cs b/src/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs similarity index 85% rename from src/generated/Models/V1beta1PodSecurityPolicySpec.cs rename to src/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs index 387e94b..62d3075 100644 --- a/src/generated/Models/V1beta1PodSecurityPolicySpec.cs +++ b/src/generated/Models/Policyv1beta1PodSecurityPolicySpec.cs @@ -15,20 +15,20 @@ namespace k8s.Models /// /// Pod Security Policy Spec defines the policy enforced. /// - public partial class V1beta1PodSecurityPolicySpec + public partial class Policyv1beta1PodSecurityPolicySpec { /// - /// Initializes a new instance of the V1beta1PodSecurityPolicySpec - /// class. + /// Initializes a new instance of the + /// Policyv1beta1PodSecurityPolicySpec class. /// - public V1beta1PodSecurityPolicySpec() + public Policyv1beta1PodSecurityPolicySpec() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1PodSecurityPolicySpec - /// class. + /// Initializes a new instance of the + /// Policyv1beta1PodSecurityPolicySpec class. /// /// FSGroup is the strategy that will dictate /// what fs group is used by the SecurityContext. @@ -85,7 +85,7 @@ namespace k8s.Models /// 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 V1beta1PodSecurityPolicySpec(V1beta1FSGroupStrategyOptions fsGroup, V1beta1RunAsUserStrategyOptions runAsUser, V1beta1SELinuxStrategyOptions seLinux, V1beta1SupplementalGroupsStrategyOptions 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)) + 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)) { AllowPrivilegeEscalation = allowPrivilegeEscalation; AllowedCapabilities = allowedCapabilities; @@ -138,14 +138,14 @@ namespace k8s.Models /// Flexvolumes is allowed in the "Volumes" field. /// [JsonProperty(PropertyName = "allowedFlexVolumes")] - public IList AllowedFlexVolumes { get; set; } + 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. /// [JsonProperty(PropertyName = "allowedHostPaths")] - public IList AllowedHostPaths { get; set; } + public IList AllowedHostPaths { get; set; } /// /// Gets or sets defaultAddCapabilities is the default set of @@ -171,7 +171,7 @@ namespace k8s.Models /// group is used by the SecurityContext. /// [JsonProperty(PropertyName = "fsGroup")] - public V1beta1FSGroupStrategyOptions FsGroup { get; set; } + public Policyv1beta1FSGroupStrategyOptions FsGroup { get; set; } /// /// Gets or sets hostIPC determines if the policy allows the use of @@ -199,7 +199,7 @@ namespace k8s.Models /// allowed to be exposed. /// [JsonProperty(PropertyName = "hostPorts")] - public IList HostPorts { get; set; } + public IList HostPorts { get; set; } /// /// Gets or sets privileged determines if a pod can request to be run @@ -232,21 +232,21 @@ namespace k8s.Models /// allowable RunAsUser values that may be set. /// [JsonProperty(PropertyName = "runAsUser")] - public V1beta1RunAsUserStrategyOptions RunAsUser { get; set; } + public Policyv1beta1RunAsUserStrategyOptions RunAsUser { get; set; } /// /// Gets or sets seLinux is the strategy that will dictate the /// allowable labels that may be set. /// [JsonProperty(PropertyName = "seLinux")] - public V1beta1SELinuxStrategyOptions SeLinux { get; set; } + public Policyv1beta1SELinuxStrategyOptions SeLinux { get; set; } /// /// Gets or sets supplementalGroups is the strategy that will dictate /// what supplemental groups are used by the SecurityContext. /// [JsonProperty(PropertyName = "supplementalGroups")] - public V1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } + public Policyv1beta1SupplementalGroupsStrategyOptions SupplementalGroups { get; set; } /// /// Gets or sets volumes is a white list of allowed volume plugins. diff --git a/src/generated/Models/V1beta1RunAsUserStrategyOptions.cs b/src/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs similarity index 78% rename from src/generated/Models/V1beta1RunAsUserStrategyOptions.cs rename to src/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs index c4ff212..11208c4 100644 --- a/src/generated/Models/V1beta1RunAsUserStrategyOptions.cs +++ b/src/generated/Models/Policyv1beta1RunAsUserStrategyOptions.cs @@ -16,26 +16,26 @@ namespace k8s.Models /// Run A sUser Strategy Options defines the strategy type and any options /// used to create the strategy. /// - public partial class V1beta1RunAsUserStrategyOptions + public partial class Policyv1beta1RunAsUserStrategyOptions { /// - /// Initializes a new instance of the V1beta1RunAsUserStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1RunAsUserStrategyOptions class. /// - public V1beta1RunAsUserStrategyOptions() + public Policyv1beta1RunAsUserStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1RunAsUserStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1RunAsUserStrategyOptions class. /// /// 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. - public V1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) + public Policyv1beta1RunAsUserStrategyOptions(string rule, IList ranges = default(IList)) { Ranges = ranges; Rule = rule; @@ -52,7 +52,7 @@ namespace k8s.Models /// used. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate the allowable diff --git a/src/generated/Models/V1beta1SELinuxStrategyOptions.cs b/src/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs similarity index 81% rename from src/generated/Models/V1beta1SELinuxStrategyOptions.cs rename to src/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs index 66058eb..785a967 100644 --- a/src/generated/Models/V1beta1SELinuxStrategyOptions.cs +++ b/src/generated/Models/Policyv1beta1SELinuxStrategyOptions.cs @@ -14,27 +14,27 @@ namespace k8s.Models /// SELinux Strategy Options defines the strategy type and any options /// used to create the strategy. /// - public partial class V1beta1SELinuxStrategyOptions + public partial class Policyv1beta1SELinuxStrategyOptions { /// - /// Initializes a new instance of the V1beta1SELinuxStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1SELinuxStrategyOptions class. /// - public V1beta1SELinuxStrategyOptions() + public Policyv1beta1SELinuxStrategyOptions() { CustomInit(); } /// - /// Initializes a new instance of the V1beta1SELinuxStrategyOptions - /// class. + /// Initializes a new instance of the + /// Policyv1beta1SELinuxStrategyOptions class. /// /// type is the strategy that will dictate the /// allowable labels that may be set. /// seLinuxOptions required to run as; /// required for MustRunAs More info: /// https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ - public V1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) + public Policyv1beta1SELinuxStrategyOptions(string rule, V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions)) { Rule = rule; SeLinuxOptions = seLinuxOptions; diff --git a/src/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs b/src/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs similarity index 77% rename from src/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs rename to src/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs index 8b1e3a6..3646997 100644 --- a/src/generated/Models/V1beta1SupplementalGroupsStrategyOptions.cs +++ b/src/generated/Models/Policyv1beta1SupplementalGroupsStrategyOptions.cs @@ -15,27 +15,27 @@ namespace k8s.Models /// SupplementalGroupsStrategyOptions defines the strategy type and options /// used to create the strategy. /// - public partial class V1beta1SupplementalGroupsStrategyOptions + public partial class Policyv1beta1SupplementalGroupsStrategyOptions { /// /// Initializes a new instance of the - /// V1beta1SupplementalGroupsStrategyOptions class. + /// Policyv1beta1SupplementalGroupsStrategyOptions class. /// - public V1beta1SupplementalGroupsStrategyOptions() + public Policyv1beta1SupplementalGroupsStrategyOptions() { CustomInit(); } /// /// Initializes a new instance of the - /// V1beta1SupplementalGroupsStrategyOptions class. + /// Policyv1beta1SupplementalGroupsStrategyOptions class. /// /// 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 /// supplemental groups is used in the SecurityContext. - public V1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) + public Policyv1beta1SupplementalGroupsStrategyOptions(IList ranges = default(IList), string rule = default(string)) { Ranges = ranges; Rule = rule; @@ -53,7 +53,7 @@ namespace k8s.Models /// a single range with the same start and end. /// [JsonProperty(PropertyName = "ranges")] - public IList Ranges { get; set; } + public IList Ranges { get; set; } /// /// Gets or sets rule is the strategy that will dictate what diff --git a/src/generated/Models/V1APIService.cs b/src/generated/Models/V1APIService.cs new file mode 100644 index 0000000..f2f9fef --- /dev/null +++ b/src/generated/Models/V1APIService.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 Newtonsoft.Json; + using System.Linq; + + /// + /// APIService represents a server for a particular GroupVersion. Name must + /// be "version.group". + /// + public partial class V1APIService + { + /// + /// Initializes a new instance of the V1APIService class. + /// + public V1APIService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1APIService 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 + /// Spec contains information for locating and + /// communicating with a server + /// Status contains derived information about an + /// API server + public V1APIService(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1APIServiceSpec spec = default(V1APIServiceSpec), V1APIServiceStatus status = default(V1APIServiceStatus)) + { + 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; } + + /// + /// + [JsonProperty(PropertyName = "metadata")] + public V1ObjectMeta Metadata { get; set; } + + /// + /// Gets or sets spec contains information for locating and + /// communicating with a server + /// + [JsonProperty(PropertyName = "spec")] + public V1APIServiceSpec Spec { get; set; } + + /// + /// Gets or sets status contains derived information about an API + /// server + /// + [JsonProperty(PropertyName = "status")] + public V1APIServiceStatus Status { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Metadata != null) + { + Metadata.Validate(); + } + if (Spec != null) + { + Spec.Validate(); + } + } + } +} diff --git a/src/generated/Models/V1APIServiceCondition.cs b/src/generated/Models/V1APIServiceCondition.cs new file mode 100644 index 0000000..bc4a434 --- /dev/null +++ b/src/generated/Models/V1APIServiceCondition.cs @@ -0,0 +1,102 @@ +// +// 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 V1APIServiceCondition + { + /// + /// Initializes a new instance of the V1APIServiceCondition class. + /// + public V1APIServiceCondition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1APIServiceCondition class. + /// + /// Status is the status of the condition. Can be + /// True, False, Unknown. + /// Type is the type of the condition. + /// Last time the condition + /// transitioned from one status to another. + /// Human-readable message indicating details + /// about last transition. + /// Unique, one-word, CamelCase reason for the + /// condition's last transition. + public V1APIServiceCondition(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 last time the condition transitioned from one status + /// to another. + /// + [JsonProperty(PropertyName = "lastTransitionTime")] + public System.DateTime? LastTransitionTime { get; set; } + + /// + /// Gets or sets human-readable message indicating details about last + /// transition. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets unique, one-word, CamelCase 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. Can be True, + /// False, Unknown. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets type is the type of the 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/generated/Models/V1APIServiceList.cs b/src/generated/Models/V1APIServiceList.cs new file mode 100644 index 0000000..b1fda37 --- /dev/null +++ b/src/generated/Models/V1APIServiceList.cs @@ -0,0 +1,109 @@ +// +// 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; + + /// + /// APIServiceList is a list of APIService objects. + /// + public partial class V1APIServiceList + { + /// + /// Initializes a new instance of the V1APIServiceList class. + /// + public V1APIServiceList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1APIServiceList 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 V1APIServiceList(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; } + + /// + /// + [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; } + + /// + /// + [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/generated/Models/V1APIServiceSpec.cs b/src/generated/Models/V1APIServiceSpec.cs new file mode 100644 index 0000000..bb6af24 --- /dev/null +++ b/src/generated/Models/V1APIServiceSpec.cs @@ -0,0 +1,165 @@ +// +// 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; + + /// + /// APIServiceSpec contains information for locating and communicating with + /// a server. Only https is supported, though you are able to disable + /// certificate verification. + /// + public partial class V1APIServiceSpec + { + /// + /// Initializes a new instance of the V1APIServiceSpec class. + /// + public V1APIServiceSpec() + { + CustomInit(); + } + + /// + /// 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. + /// Note that other versions of this group might specify even higher + /// GroupPriorityMininum values such that the whole group gets a higher + /// priority. The primary sort is based on GroupPriorityMinimum, + /// ordered highest number 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) We'd recommend something like: *.k8s.io + /// (except extensions) at 18000 and PaaSes (OpenShift, Deis) are + /// recommended to be in the 2000s + /// Service is a reference to the service for + /// this API server. It must communicate on port 443 If the Service is + /// nil, that means the handling for the API groupversion is handled + /// locally on this server. The call will simply delegate to the normal + /// handler chain to be fulfilled. + /// 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. + /// Group is the API group name this server + /// hosts + /// InsecureSkipTLSVerify disables + /// TLS certificate verification when communicating with this server. + /// This is strongly discouraged. You should use the CABundle + /// 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)) + { + CaBundle = caBundle; + Group = group; + GroupPriorityMinimum = groupPriorityMinimum; + InsecureSkipTLSVerify = insecureSkipTLSVerify; + Service = service; + Version = version; + VersionPriority = versionPriority; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets cABundle is a PEM encoded CA bundle which will be used + /// to validate an API server's serving certificate. + /// + [JsonProperty(PropertyName = "caBundle")] + public byte[] CaBundle { get; set; } + + /// + /// Gets or sets group is the API group name this server hosts + /// + [JsonProperty(PropertyName = "group")] + public string Group { get; set; } + + /// + /// Gets or sets groupPriorityMininum is the priority this group should + /// have at least. Higher priority means that the group is preferred by + /// clients over lower priority ones. Note that other versions of this + /// group might specify even higher GroupPriorityMininum values such + /// that the whole group gets a higher priority. The primary sort is + /// based on GroupPriorityMinimum, ordered highest number 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) We'd + /// recommend something like: *.k8s.io (except extensions) at 18000 and + /// PaaSes (OpenShift, Deis) are recommended to be in the 2000s + /// + [JsonProperty(PropertyName = "groupPriorityMinimum")] + public int GroupPriorityMinimum { get; set; } + + /// + /// Gets or sets insecureSkipTLSVerify disables TLS certificate + /// verification when communicating with this server. This is strongly + /// discouraged. You should use the CABundle instead. + /// + [JsonProperty(PropertyName = "insecureSkipTLSVerify")] + public bool? InsecureSkipTLSVerify { get; set; } + + /// + /// Gets or sets service is a reference to the service for this API + /// server. It must communicate on port 443 If the Service is nil, + /// that means the handling for the API groupversion is handled locally + /// on this server. The call will simply delegate to the normal handler + /// chain to be fulfilled. + /// + [JsonProperty(PropertyName = "service")] + public V1ServiceReference Service { get; set; } + + /// + /// Gets or sets version is the API version this server hosts. For + /// example, "v1" + /// + [JsonProperty(PropertyName = "version")] + public string Version { get; set; } + + /// + /// 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. + /// + [JsonProperty(PropertyName = "versionPriority")] + public int VersionPriority { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + 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/generated/Models/V1APIServiceStatus.cs b/src/generated/Models/V1APIServiceStatus.cs new file mode 100644 index 0000000..624a0bc --- /dev/null +++ b/src/generated/Models/V1APIServiceStatus.cs @@ -0,0 +1,50 @@ +// +// 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; + + /// + /// APIServiceStatus contains derived information about an API server + /// + public partial class V1APIServiceStatus + { + /// + /// Initializes a new instance of the V1APIServiceStatus class. + /// + public V1APIServiceStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1APIServiceStatus class. + /// + /// Current service state of + /// apiService. + public V1APIServiceStatus(IList conditions = default(IList)) + { + Conditions = conditions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current service state of apiService. + /// + [JsonProperty(PropertyName = "conditions")] + public IList Conditions { get; set; } + + } +} diff --git a/src/generated/Models/V1CSIPersistentVolumeSource.cs b/src/generated/Models/V1CSIPersistentVolumeSource.cs index d4eb1a8..6c715bf 100644 --- a/src/generated/Models/V1CSIPersistentVolumeSource.cs +++ b/src/generated/Models/V1CSIPersistentVolumeSource.cs @@ -8,10 +8,13 @@ namespace k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// /// Represents storage that is managed by an external CSI volume driver + /// (Beta feature) /// public partial class V1CSIPersistentVolumeSource { @@ -33,13 +36,43 @@ namespace k8s.Models /// VolumeHandle is the unique volume name /// returned by the CSI volume plugin’s CreateVolume to refer to the /// volume on all subsequent calls. Required. + /// ControllerPublishSecretRef + /// is a reference to the secret object containing sensitive + /// information to pass to the CSI driver to complete the CSI + /// ControllerPublishVolume and ControllerUnpublishVolume calls. This + /// field is optional, and may be empty if no secret is required. If + /// the secret object contains more than one secret, all secrets are + /// 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. + /// NodePublishSecretRef is a + /// reference to the secret object containing sensitive information to + /// pass to the CSI driver to complete the CSI NodePublishVolume and + /// NodeUnpublishVolume calls. This field is optional, and may be + /// empty if no secret is required. If the secret object contains more + /// than one secret, all secrets are passed. + /// NodeStageSecretRef is a reference + /// to the secret object containing sensitive information to pass to + /// the CSI driver to complete the CSI NodeStageVolume and + /// NodeStageVolume and NodeUnstageVolume calls. This field is + /// optional, and may be empty if no secret is required. If the secret + /// object contains more than one secret, all secrets are + /// passed. /// Optional: The value to pass to /// ControllerPublishVolumeRequest. Defaults to false /// (read/write). - public V1CSIPersistentVolumeSource(string driver, string volumeHandle, bool? readOnlyProperty = default(bool?)) + /// Attributes of the volume to + /// publish. + public V1CSIPersistentVolumeSource(string driver, string volumeHandle, V1SecretReference controllerPublishSecretRef = default(V1SecretReference), string fsType = default(string), V1SecretReference nodePublishSecretRef = default(V1SecretReference), V1SecretReference nodeStageSecretRef = default(V1SecretReference), bool? readOnlyProperty = default(bool?), IDictionary volumeAttributes = default(IDictionary)) { + ControllerPublishSecretRef = controllerPublishSecretRef; Driver = driver; + FsType = fsType; + NodePublishSecretRef = nodePublishSecretRef; + NodeStageSecretRef = nodeStageSecretRef; ReadOnlyProperty = readOnlyProperty; + VolumeAttributes = volumeAttributes; VolumeHandle = volumeHandle; CustomInit(); } @@ -49,6 +82,17 @@ namespace k8s.Models /// partial void CustomInit(); + /// + /// Gets or sets controllerPublishSecretRef is a reference to the + /// secret object containing sensitive information to pass to the CSI + /// driver to complete the CSI ControllerPublishVolume and + /// ControllerUnpublishVolume calls. This field is optional, and may + /// be empty if no secret is required. If the secret object contains + /// more than one secret, all secrets are passed. + /// + [JsonProperty(PropertyName = "controllerPublishSecretRef")] + public V1SecretReference ControllerPublishSecretRef { get; set; } + /// /// Gets or sets driver is the name of the driver to use for this /// volume. Required. @@ -56,6 +100,36 @@ namespace k8s.Models [JsonProperty(PropertyName = "driver")] public string Driver { get; set; } + /// + /// 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; } + + /// + /// Gets or sets nodePublishSecretRef is a reference to the secret + /// object containing sensitive information to pass to the CSI driver + /// to complete the CSI NodePublishVolume and NodeUnpublishVolume + /// calls. This field is optional, and may be empty if no secret is + /// required. If the secret object contains more than one secret, all + /// secrets are passed. + /// + [JsonProperty(PropertyName = "nodePublishSecretRef")] + public V1SecretReference NodePublishSecretRef { get; set; } + + /// + /// Gets or sets nodeStageSecretRef is a reference to the secret object + /// containing sensitive information to pass to the CSI driver to + /// complete the CSI NodeStageVolume and NodeStageVolume and + /// NodeUnstageVolume calls. This field is optional, and may be empty + /// if no secret is required. If the secret object contains more than + /// one secret, all secrets are passed. + /// + [JsonProperty(PropertyName = "nodeStageSecretRef")] + public V1SecretReference NodeStageSecretRef { get; set; } + /// /// Gets or sets optional: The value to pass to /// ControllerPublishVolumeRequest. Defaults to false (read/write). @@ -63,6 +137,12 @@ namespace k8s.Models [JsonProperty(PropertyName = "readOnly")] public bool? ReadOnlyProperty { get; set; } + /// + /// Gets or sets attributes of the volume to publish. + /// + [JsonProperty(PropertyName = "volumeAttributes")] + public IDictionary VolumeAttributes { get; set; } + /// /// Gets or sets volumeHandle is the unique volume name returned by the /// CSI volume plugin’s CreateVolume to refer to the volume on all diff --git a/src/generated/Models/V1ConfigMap.cs b/src/generated/Models/V1ConfigMap.cs index 63c8b22..0b6196b 100644 --- a/src/generated/Models/V1ConfigMap.cs +++ b/src/generated/Models/V1ConfigMap.cs @@ -32,8 +32,18 @@ namespace k8s.Models /// schemas to the latest internal value, and may reject unrecognized /// values. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + /// BinaryData contains the binary data. Each + /// key must consist of alphanumeric characters, '-', '_' or '.'. + /// BinaryData can contain byte sequences that are not in the UTF-8 + /// range. The keys stored in BinaryData must not overlap with the ones + /// in the Data field, this is enforced during validation process. + /// Using this field will require 1.10+ apiserver and kubelet. /// Data contains the configuration data. Each key - /// must consist of alphanumeric characters, '-', '_' or '.'. + /// must consist of alphanumeric characters, '-', '_' or '.'. Values + /// with non-UTF-8 byte sequences must use the BinaryData field. The + /// keys stored in Data must not overlap with the keys in the + /// BinaryData field, this is enforced during validation + /// process. /// 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 @@ -41,9 +51,10 @@ namespace k8s.Models /// 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 V1ConfigMap(string apiVersion = default(string), IDictionary data = default(IDictionary), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + public V1ConfigMap(string apiVersion = default(string), IDictionary binaryData = default(IDictionary), IDictionary data = default(IDictionary), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) { ApiVersion = apiVersion; + BinaryData = binaryData; Data = data; Kind = kind; Metadata = metadata; @@ -65,9 +76,23 @@ namespace k8s.Models [JsonProperty(PropertyName = "apiVersion")] public string ApiVersion { get; set; } + /// + /// Gets or sets binaryData contains the binary data. Each key must + /// consist of alphanumeric characters, '-', '_' or '.'. BinaryData can + /// contain byte sequences that are not in the UTF-8 range. The keys + /// stored in BinaryData must not overlap with the ones in the Data + /// field, this is enforced during validation process. Using this field + /// will require 1.10+ apiserver and kubelet. + /// + [JsonProperty(PropertyName = "binaryData")] + public IDictionary BinaryData { get; set; } + /// /// Gets or sets data contains the configuration data. Each key must - /// consist of alphanumeric characters, '-', '_' or '.'. + /// consist of alphanumeric characters, '-', '_' or '.'. Values with + /// non-UTF-8 byte sequences must use the BinaryData field. The keys + /// stored in Data must not overlap with the keys in the BinaryData + /// field, this is enforced during validation process. /// [JsonProperty(PropertyName = "data")] public IDictionary Data { get; set; } diff --git a/src/generated/Models/V1ContainerImage.cs b/src/generated/Models/V1ContainerImage.cs index 96238c6..09e32a4 100644 --- a/src/generated/Models/V1ContainerImage.cs +++ b/src/generated/Models/V1ContainerImage.cs @@ -29,7 +29,7 @@ namespace k8s.Models /// Initializes a new instance of the V1ContainerImage class. /// /// Names by which this image is known. e.g. - /// ["gcr.io/google_containers/hyperkube:v1.0.7", + /// ["k8s.gcr.io/hyperkube:v1.0.7", /// "dockerhub.io/google_containers/hyperkube:v1.0.7"] /// The size of the image in bytes. public V1ContainerImage(IList names, long? sizeBytes = default(long?)) @@ -46,7 +46,7 @@ namespace k8s.Models /// /// Gets or sets names by which this image is known. e.g. - /// ["gcr.io/google_containers/hyperkube:v1.0.7", + /// ["k8s.gcr.io/hyperkube:v1.0.7", /// "dockerhub.io/google_containers/hyperkube:v1.0.7"] /// [JsonProperty(PropertyName = "names")] diff --git a/src/generated/Models/V1Endpoints.cs b/src/generated/Models/V1Endpoints.cs index c3e98ef..c448919 100644 --- a/src/generated/Models/V1Endpoints.cs +++ b/src/generated/Models/V1Endpoints.cs @@ -6,7 +6,6 @@ namespace k8s.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -40,14 +39,6 @@ namespace k8s.Models /// /// Initializes a new instance of the V1Endpoints class. /// - /// The set of all endpoints is the union of all - /// subsets. Addresses are placed into subsets according to the IPs - /// they share. A single address with multiple ports, some of which are - /// ready and some of which are not (because they come from different - /// containers) will result in the address being displayed in different - /// subsets for the different ports. No address will appear in both - /// Addresses and NotReadyAddresses in the same subset. Sets of - /// addresses and ports that comprise a service. /// 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,7 +51,15 @@ namespace k8s.Models /// 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 V1Endpoints(IList subsets, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) + /// The set of all endpoints is the union of all + /// subsets. Addresses are placed into subsets according to the IPs + /// they share. A single address with multiple ports, some of which are + /// ready and some of which are not (because they come from different + /// containers) will result in the address being displayed in different + /// subsets for the different ports. No address will appear in both + /// Addresses and NotReadyAddresses in the same subset. Sets of + /// addresses and ports that comprise a service. + public V1Endpoints(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), IList subsets = default(IList)) { ApiVersion = apiVersion; Kind = kind; @@ -117,15 +116,11 @@ namespace k8s.Models /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { - if (Subsets == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Subsets"); - } if (Metadata != null) { Metadata.Validate(); diff --git a/src/generated/Models/V1EnvFromSource.cs b/src/generated/Models/V1EnvFromSource.cs index 77bdac0..9a10619 100644 --- a/src/generated/Models/V1EnvFromSource.cs +++ b/src/generated/Models/V1EnvFromSource.cs @@ -26,7 +26,7 @@ namespace k8s.Models /// Initializes a new instance of the V1EnvFromSource class. /// /// The ConfigMap to select from - /// An optional identifer to prepend to each key + /// An optional identifier to prepend to each key /// in the ConfigMap. Must be a C_IDENTIFIER. /// The Secret to select from public V1EnvFromSource(V1ConfigMapEnvSource configMapRef = default(V1ConfigMapEnvSource), string prefix = default(string), V1SecretEnvSource secretRef = default(V1SecretEnvSource)) @@ -49,7 +49,7 @@ namespace k8s.Models public V1ConfigMapEnvSource ConfigMapRef { get; set; } /// - /// Gets or sets an optional identifer to prepend to each key in the + /// Gets or sets an optional identifier to prepend to each key in the /// ConfigMap. Must be a C_IDENTIFIER. /// [JsonProperty(PropertyName = "prefix")] diff --git a/src/generated/Models/V1EventSeries.cs b/src/generated/Models/V1EventSeries.cs index 23de775..0277d83 100644 --- a/src/generated/Models/V1EventSeries.cs +++ b/src/generated/Models/V1EventSeries.cs @@ -11,7 +11,7 @@ namespace k8s.Models /// /// EventSeries contain information on series of events, i.e. thing that - /// was/is happening continously for some time. + /// was/is happening continuously for some time. /// public partial class V1EventSeries { @@ -28,7 +28,7 @@ namespace k8s.Models /// /// Number of occurrences in this series up to the /// last heartbeat time - /// Time of the last occurence + /// Time of the last occurrence /// observed /// State of this Series: Ongoing or /// Finished @@ -53,7 +53,7 @@ namespace k8s.Models public int? Count { get; set; } /// - /// Gets or sets time of the last occurence observed + /// Gets or sets time of the last occurrence observed /// [JsonProperty(PropertyName = "lastObservedTime")] public System.DateTime? LastObservedTime { get; set; } diff --git a/src/generated/Models/V1FlexPersistentVolumeSource.cs b/src/generated/Models/V1FlexPersistentVolumeSource.cs new file mode 100644 index 0000000..c778991 --- /dev/null +++ b/src/generated/Models/V1FlexPersistentVolumeSource.cs @@ -0,0 +1,117 @@ +// +// 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; + + /// + /// FlexPersistentVolumeSource represents a generic persistent volume + /// resource that is provisioned/attached using an exec based plugin. + /// + public partial class V1FlexPersistentVolumeSource + { + /// + /// Initializes a new instance of the V1FlexPersistentVolumeSource + /// class. + /// + public V1FlexPersistentVolumeSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1FlexPersistentVolumeSource + /// class. + /// + /// Driver is the name of the driver to use for + /// this volume. + /// Filesystem type to mount. Must be a filesystem + /// type supported by the host operating system. Ex. "ext4", "xfs", + /// "ntfs". The default filesystem depends on FlexVolume + /// script. + /// Optional: Extra command options if + /// any. + /// Optional: Defaults to false + /// (read/write). ReadOnly here will force the ReadOnly setting in + /// VolumeMounts. + /// Optional: SecretRef is reference to the + /// secret object containing sensitive information to pass to the + /// plugin scripts. This may be empty if no secret object is specified. + /// If the secret object contains more than one secret, all secrets are + /// passed to the plugin scripts. + public V1FlexPersistentVolumeSource(string driver, string fsType = default(string), IDictionary options = default(IDictionary), bool? readOnlyProperty = default(bool?), V1SecretReference secretRef = default(V1SecretReference)) + { + Driver = driver; + FsType = fsType; + Options = options; + ReadOnlyProperty = readOnlyProperty; + SecretRef = secretRef; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets driver is the name of the driver to use for this + /// volume. + /// + [JsonProperty(PropertyName = "driver")] + public string Driver { get; set; } + + /// + /// Gets or sets filesystem type to mount. Must be a filesystem type + /// supported by the host operating system. Ex. "ext4", "xfs", "ntfs". + /// The default filesystem depends on FlexVolume script. + /// + [JsonProperty(PropertyName = "fsType")] + public string FsType { get; set; } + + /// + /// Gets or sets optional: Extra command options if any. + /// + [JsonProperty(PropertyName = "options")] + public IDictionary Options { get; set; } + + /// + /// Gets or sets optional: Defaults to false (read/write). ReadOnly + /// here will force the ReadOnly setting in VolumeMounts. + /// + [JsonProperty(PropertyName = "readOnly")] + public bool? ReadOnlyProperty { get; set; } + + /// + /// Gets or sets optional: SecretRef is reference to the secret object + /// containing sensitive information to pass to the plugin scripts. + /// This may be empty if no secret object is specified. If the secret + /// object contains more than one secret, all secrets are passed to the + /// plugin scripts. + /// + [JsonProperty(PropertyName = "secretRef")] + public V1SecretReference SecretRef { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Driver == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Driver"); + } + } + } +} diff --git a/src/generated/Models/V1PersistentVolumeSpec.cs b/src/generated/Models/V1PersistentVolumeSpec.cs index e16f709..6d0d967 100644 --- a/src/generated/Models/V1PersistentVolumeSpec.cs +++ b/src/generated/Models/V1PersistentVolumeSpec.cs @@ -52,7 +52,7 @@ namespace k8s.Models /// between PV and PVC. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding /// CSI represents storage that handled by an - /// external CSI driver + /// external CSI driver (Beta feature). /// FC represents a Fibre Channel resource that is /// attached to a kubelet's host machine and then exposed to the /// pod. @@ -88,10 +88,15 @@ namespace k8s.Models /// NFS represents an NFS mount on the host. /// Provisioned by an admin. More info: /// https://kubernetes.io/docs/concepts/storage/volumes#nfs + /// NodeAffinity defines constraints that + /// limit what nodes this volume can be accessed from. This field + /// influences the scheduling of pods that use this volume. /// What happens to a /// persistent volume when released from its claim. Valid options are - /// Retain (default) and Recycle. Recycling must be supported by the - /// volume plugin underlying this persistent volume. More info: + /// Retain (default for manually created PersistentVolumes), Delete + /// (default for dynamically provisioned PersistentVolumes), and + /// Recycle (deprecated). Recycle must be supported by the volume + /// plugin underlying this PersistentVolume. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming /// PhotonPersistentDisk represents /// a PhotonController persistent disk attached and mounted on kubelets @@ -118,7 +123,7 @@ namespace k8s.Models /// 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), V1FlexVolumeSource flexVolume = default(V1FlexVolumeSource), 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), 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), 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)) { AccessModes = accessModes; AwsElasticBlockStore = awsElasticBlockStore; @@ -139,6 +144,7 @@ namespace k8s.Models Local = local; MountOptions = mountOptions; Nfs = nfs; + NodeAffinity = nodeAffinity; PersistentVolumeReclaimPolicy = persistentVolumeReclaimPolicy; PhotonPersistentDisk = photonPersistentDisk; PortworxVolume = portworxVolume; @@ -223,7 +229,7 @@ namespace k8s.Models /// /// Gets or sets CSI represents storage that handled by an external CSI - /// driver + /// driver (Beta feature). /// [JsonProperty(PropertyName = "csi")] public V1CSIPersistentVolumeSource Csi { get; set; } @@ -240,7 +246,7 @@ namespace k8s.Models /// is provisioned/attached using an exec based plugin. /// [JsonProperty(PropertyName = "flexVolume")] - public V1FlexVolumeSource FlexVolume { get; set; } + public V1FlexPersistentVolumeSource FlexVolume { get; set; } /// /// Gets or sets flocker represents a Flocker volume attached to a @@ -310,11 +316,21 @@ namespace k8s.Models [JsonProperty(PropertyName = "nfs")] public V1NFSVolumeSource Nfs { get; set; } + /// + /// Gets or sets nodeAffinity defines constraints that limit what nodes + /// this volume can be accessed from. This field influences the + /// scheduling of pods that use this volume. + /// + [JsonProperty(PropertyName = "nodeAffinity")] + public V1VolumeNodeAffinity NodeAffinity { get; set; } + /// /// Gets or sets what happens to a persistent volume when released from - /// its claim. Valid options are Retain (default) and Recycle. - /// Recycling must be supported by the volume plugin underlying this - /// persistent volume. More info: + /// its claim. Valid options are Retain (default for manually created + /// PersistentVolumes), Delete (default for dynamically provisioned + /// PersistentVolumes), and Recycle (deprecated). Recycle must be + /// supported by the volume plugin underlying this PersistentVolume. + /// More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming /// [JsonProperty(PropertyName = "persistentVolumeReclaimPolicy")] @@ -449,6 +465,10 @@ namespace k8s.Models { Nfs.Validate(); } + if (NodeAffinity != null) + { + NodeAffinity.Validate(); + } if (PhotonPersistentDisk != null) { PhotonPersistentDisk.Validate(); diff --git a/src/generated/Models/V1PodSecurityContext.cs b/src/generated/Models/V1PodSecurityContext.cs index 8178850..24ad74b 100644 --- a/src/generated/Models/V1PodSecurityContext.cs +++ b/src/generated/Models/V1PodSecurityContext.cs @@ -40,6 +40,11 @@ namespace k8s.Models /// /// If unset, the Kubelet will not modify the ownership and permissions /// of any volume. + /// The GID to run the entrypoint of the + /// container process. Uses runtime default if unset. May also be set + /// in SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes + /// precedence for that container. /// 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 @@ -62,9 +67,10 @@ namespace k8s.Models /// 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?), bool? runAsNonRoot = default(bool?), long? runAsUser = default(long?), V1SELinuxOptions seLinuxOptions = default(V1SELinuxOptions), IList supplementalGroups = default(IList)) + 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)) { FsGroup = fsGroup; + RunAsGroup = runAsGroup; RunAsNonRoot = runAsNonRoot; RunAsUser = runAsUser; SeLinuxOptions = seLinuxOptions; @@ -92,6 +98,16 @@ namespace k8s.Models [JsonProperty(PropertyName = "fsGroup")] public long? FsGroup { get; set; } + /// + /// Gets or sets the GID to run the entrypoint of the container + /// process. Uses runtime default if unset. May also be set in + /// SecurityContext. If set in both SecurityContext and + /// PodSecurityContext, the value specified in SecurityContext takes + /// precedence for that container. + /// + [JsonProperty(PropertyName = "runAsGroup")] + public long? RunAsGroup { get; set; } + /// /// Gets or sets indicates that the container must run as a non-root /// user. If true, the Kubelet will validate the image at runtime to diff --git a/src/generated/Models/V1PodSpec.cs b/src/generated/Models/V1PodSpec.cs index 2ce458c..6d776cb 100644 --- a/src/generated/Models/V1PodSpec.cs +++ b/src/generated/Models/V1PodSpec.cs @@ -43,17 +43,13 @@ namespace k8s.Models /// mounted. /// Specifies the DNS parameters of a pod. /// Parameters specified here will be merged to the generated DNS - /// configuration based on DNSPolicy. This is an alpha feature - /// introduced in v1.9 and CustomPodDNS feature gate must be enabled to - /// use it. + /// configuration based on DNSPolicy. /// Set DNS policy for the pod. Defaults to /// "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', /// 'ClusterFirst', 'Default' or 'None'. DNS parameters given in /// DNSConfig will be merged with the policy selected with DNSPolicy. /// To have DNS options set along with hostNetwork, you have to specify - /// DNS policy explicitly to 'ClusterFirstWithHostNet'. Note that - /// 'None' policy is an alpha feature introduced in v1.9 and - /// CustomPodDNS feature gate must be enabled to use it. + /// DNS policy explicitly to 'ClusterFirstWithHostNet'. /// HostAliases is an optional list of hosts /// and IPs that will be injected into the pod's hosts file if /// specified. This is only valid for non-hostNetwork pods. @@ -103,10 +99,12 @@ namespace k8s.Models /// from PriorityClassName. The higher the value, the higher the /// priority. /// If specified, indicates the pod's - /// priority. "SYSTEM" is a special keyword which indicates 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. + /// 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. /// Restart policy for all containers /// within the pod. One of Always, OnFailure, Never. Default to Always. /// More info: @@ -124,6 +122,14 @@ namespace k8s.Models /// ServiceAccountName is the name of /// the ServiceAccount to use to run this pod. More info: /// https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ + /// 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. /// If specified, the fully qualified Pod /// hostname will be "<hostname>.<subdomain>.<pod /// namespace>.svc.<cluster domain>". If not specified, the @@ -142,7 +148,7 @@ namespace k8s.Models /// 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), 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), 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)) { ActiveDeadlineSeconds = activeDeadlineSeconds; Affinity = affinity; @@ -166,6 +172,7 @@ namespace k8s.Models SecurityContext = securityContext; ServiceAccount = serviceAccount; ServiceAccountName = serviceAccountName; + ShareProcessNamespace = shareProcessNamespace; Subdomain = subdomain; TerminationGracePeriodSeconds = terminationGracePeriodSeconds; Tolerations = tolerations; @@ -211,8 +218,7 @@ namespace k8s.Models /// /// Gets or sets specifies the DNS parameters of a pod. Parameters /// specified here will be merged to the generated DNS configuration - /// based on DNSPolicy. This is an alpha feature introduced in v1.9 and - /// CustomPodDNS feature gate must be enabled to use it. + /// based on DNSPolicy. /// [JsonProperty(PropertyName = "dnsConfig")] public V1PodDNSConfig DnsConfig { get; set; } @@ -223,9 +229,7 @@ namespace k8s.Models /// 'ClusterFirst', 'Default' or 'None'. DNS parameters given in /// DNSConfig will be merged with the policy selected with DNSPolicy. /// To have DNS options set along with hostNetwork, you have to specify - /// DNS policy explicitly to 'ClusterFirstWithHostNet'. Note that - /// 'None' policy is an alpha feature introduced in v1.9 and - /// CustomPodDNS feature gate must be enabled to use it. + /// DNS policy explicitly to 'ClusterFirstWithHostNet'. /// [JsonProperty(PropertyName = "dnsPolicy")] public string DnsPolicy { get; set; } @@ -327,11 +331,13 @@ namespace k8s.Models public int? Priority { get; set; } /// - /// Gets or sets if specified, indicates the pod's priority. "SYSTEM" - /// is a special keyword which indicates 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. + /// Gets or sets 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. /// [JsonProperty(PropertyName = "priorityClassName")] public string PriorityClassName { get; set; } @@ -375,6 +381,18 @@ namespace k8s.Models [JsonProperty(PropertyName = "serviceAccountName")] public string ServiceAccountName { get; set; } + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "shareProcessNamespace")] + public bool? ShareProcessNamespace { get; set; } + /// /// Gets or sets if specified, the fully qualified Pod hostname will be /// "&lt;hostname&gt;.&lt;subdomain&gt;.&lt;pod diff --git a/src/generated/Models/V1PodStatus.cs b/src/generated/Models/V1PodStatus.cs index 3a85646..4c07c2a 100644 --- a/src/generated/Models/V1PodStatus.cs +++ b/src/generated/Models/V1PodStatus.cs @@ -43,6 +43,16 @@ namespace k8s.Models /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status /// A human readable message indicating details /// about why the pod is in this condition. + /// nominatedNodeName is set only when + /// this pod preempts other pods on the node, but it cannot be + /// scheduled right away as preemption victims receive their graceful + /// termination periods. This field does not guarantee that the pod + /// will be scheduled on this node. Scheduler may decide to place the + /// pod elsewhere if other nodes become available sooner. Scheduler may + /// also decide to give the resources on this node to a higher priority + /// 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: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase /// IP address allocated to the pod. Routable at @@ -50,19 +60,20 @@ namespace k8s.Models /// The Quality of Service (QOS) classification /// assigned to the pod based on resource requirements See PodQOSClass /// type for available QOS classes More info: - /// https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md + /// https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md /// A brief CamelCase message indicating details /// about why the pod is in this state. e.g. 'Evicted' /// RFC 3339 date and time at which the object /// was acknowledged by the Kubelet. This is before the Kubelet pulled /// the container image(s) for the pod. - public V1PodStatus(IList conditions = default(IList), IList containerStatuses = default(IList), string hostIP = default(string), IList initContainerStatuses = default(IList), string message = default(string), string phase = default(string), string podIP = default(string), string qosClass = default(string), string reason = default(string), System.DateTime? startTime = default(System.DateTime?)) + public V1PodStatus(IList conditions = default(IList), IList containerStatuses = default(IList), string hostIP = default(string), IList initContainerStatuses = default(IList), string message = default(string), string nominatedNodeName = default(string), string phase = default(string), string podIP = default(string), string qosClass = default(string), string reason = default(string), System.DateTime? startTime = default(System.DateTime?)) { Conditions = conditions; ContainerStatuses = containerStatuses; HostIP = hostIP; InitContainerStatuses = initContainerStatuses; Message = message; + NominatedNodeName = nominatedNodeName; Phase = phase; PodIP = podIP; QosClass = qosClass; @@ -115,6 +126,20 @@ namespace k8s.Models [JsonProperty(PropertyName = "message")] public string Message { get; set; } + /// + /// Gets or sets nominatedNodeName is set only when this pod preempts + /// other pods on the node, but it cannot be scheduled right away as + /// preemption victims receive their graceful termination periods. This + /// field does not guarantee that the pod will be scheduled on this + /// node. Scheduler may decide to place the pod elsewhere if other + /// nodes become available sooner. Scheduler may also decide to give + /// the resources on this node to a higher priority pod that is created + /// after preemption. As a result, this field may be different than + /// PodSpec.nodeName when the pod is scheduled. + /// + [JsonProperty(PropertyName = "nominatedNodeName")] + public string NominatedNodeName { get; set; } + /// /// Gets or sets current condition of the pod. More info: /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase @@ -133,7 +158,7 @@ namespace k8s.Models /// Gets or sets the Quality of Service (QOS) classification assigned /// to the pod based on resource requirements See PodQOSClass type for /// available QOS classes More info: - /// https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md + /// https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md /// [JsonProperty(PropertyName = "qosClass")] public string QosClass { get; set; } diff --git a/src/generated/Models/V1RollingUpdateDeployment.cs b/src/generated/Models/V1RollingUpdateDeployment.cs index 6e6513c..b3ecf49 100644 --- a/src/generated/Models/V1RollingUpdateDeployment.cs +++ b/src/generated/Models/V1RollingUpdateDeployment.cs @@ -35,7 +35,7 @@ namespace k8s.Models /// 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. + /// update is at most 130% of desired pods. /// 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 @@ -68,7 +68,7 @@ namespace k8s.Models /// 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 + /// running at any time during the update is at most 130% of desired /// pods. /// [JsonProperty(PropertyName = "maxSurge")] diff --git a/src/generated/Models/V1SecurityContext.cs b/src/generated/Models/V1SecurityContext.cs index e0a403e..fea5ac7 100644 --- a/src/generated/Models/V1SecurityContext.cs +++ b/src/generated/Models/V1SecurityContext.cs @@ -42,6 +42,11 @@ namespace k8s.Models /// root on the host. Defaults to false. /// Whether this container has a /// read-only root filesystem. Default is false. + /// 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. /// 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 @@ -61,12 +66,13 @@ namespace k8s.Models /// 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?), 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?), 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; ReadOnlyRootFilesystem = readOnlyRootFilesystem; + RunAsGroup = runAsGroup; RunAsNonRoot = runAsNonRoot; RunAsUser = runAsUser; SeLinuxOptions = seLinuxOptions; @@ -111,6 +117,16 @@ namespace k8s.Models [JsonProperty(PropertyName = "readOnlyRootFilesystem")] public bool? ReadOnlyRootFilesystem { get; set; } + /// + /// Gets or sets 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. + /// + [JsonProperty(PropertyName = "runAsGroup")] + public long? RunAsGroup { get; set; } + /// /// Gets or sets indicates that the container must run as a non-root /// user. If true, the Kubelet will validate the image at runtime to diff --git a/src/generated/Models/V1ServiceReference.cs b/src/generated/Models/V1ServiceReference.cs new file mode 100644 index 0000000..8093bfc --- /dev/null +++ b/src/generated/Models/V1ServiceReference.cs @@ -0,0 +1,56 @@ +// +// 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; + + /// + /// ServiceReference holds a reference to Service.legacy.k8s.io + /// + public partial class V1ServiceReference + { + /// + /// Initializes a new instance of the V1ServiceReference class. + /// + public V1ServiceReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1ServiceReference class. + /// + /// Name is the name of the service + /// Namespace is the namespace of the + /// service + public V1ServiceReference(string name = default(string), string namespaceProperty = default(string)) + { + Name = name; + NamespaceProperty = namespaceProperty; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name is the name of the service + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets namespace is the namespace of the service + /// + [JsonProperty(PropertyName = "namespace")] + public string NamespaceProperty { get; set; } + + } +} diff --git a/src/generated/Models/V1VolumeMount.cs b/src/generated/Models/V1VolumeMount.cs index 2da6836..7d147d7 100644 --- a/src/generated/Models/V1VolumeMount.cs +++ b/src/generated/Models/V1VolumeMount.cs @@ -32,8 +32,7 @@ namespace k8s.Models /// 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 alpha in 1.8 and can be reworked or removed in a future - /// release. + /// field is beta in 1.10. /// Mounted read-only if true, /// read-write otherwise (false or unspecified). Defaults to /// false. @@ -65,8 +64,8 @@ namespace k8s.Models /// /// 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 alpha in 1.8 - /// and can be reworked or removed in a future release. + /// MountPropagationHostToContainer is used. This field is beta in + /// 1.10. /// [JsonProperty(PropertyName = "mountPropagation")] public string MountPropagation { get; set; } diff --git a/src/generated/Models/V1VolumeNodeAffinity.cs b/src/generated/Models/V1VolumeNodeAffinity.cs new file mode 100644 index 0000000..21420b2 --- /dev/null +++ b/src/generated/Models/V1VolumeNodeAffinity.cs @@ -0,0 +1,63 @@ +// +// 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; + + /// + /// VolumeNodeAffinity defines constraints that limit what nodes this + /// volume can be accessed from. + /// + public partial class V1VolumeNodeAffinity + { + /// + /// Initializes a new instance of the V1VolumeNodeAffinity class. + /// + public V1VolumeNodeAffinity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1VolumeNodeAffinity class. + /// + /// Required specifies hard node constraints + /// that must be met. + public V1VolumeNodeAffinity(V1NodeSelector required = default(V1NodeSelector)) + { + Required = required; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets required specifies hard node constraints that must be + /// met. + /// + [JsonProperty(PropertyName = "required")] + public V1NodeSelector Required { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Required != null) + { + Required.Validate(); + } + } + } +} diff --git a/src/generated/Models/V1alpha1PriorityClass.cs b/src/generated/Models/V1alpha1PriorityClass.cs index 3eee7f7..f44f9b1 100644 --- a/src/generated/Models/V1alpha1PriorityClass.cs +++ b/src/generated/Models/V1alpha1PriorityClass.cs @@ -39,14 +39,18 @@ namespace k8s.Models /// used. /// globalDefault specifies whether this /// PriorityClass should be considered as the default priority for pods - /// that do not have any priority class. + /// 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: - /// http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata public V1alpha1PriorityClass(int value, string apiVersion = default(string), string description = default(string), bool? globalDefault = default(bool?), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) { ApiVersion = apiVersion; @@ -83,7 +87,11 @@ namespace k8s.Models /// /// Gets or sets globalDefault specifies whether this PriorityClass /// should be considered as the default priority for pods that do not - /// have any priority class. + /// 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; } @@ -100,7 +108,7 @@ namespace k8s.Models /// /// Gets or sets standard object's metadata. More info: - /// http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ObjectMeta Metadata { get; set; } diff --git a/src/generated/Models/V1alpha1PriorityClassList.cs b/src/generated/Models/V1alpha1PriorityClassList.cs index 5da9aa4..826dc68 100644 --- a/src/generated/Models/V1alpha1PriorityClassList.cs +++ b/src/generated/Models/V1alpha1PriorityClassList.cs @@ -40,7 +40,7 @@ namespace k8s.Models /// CamelCase. More info: /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds /// Standard list metadata More info: - /// http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata public V1alpha1PriorityClassList(IList items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) { ApiVersion = apiVersion; @@ -83,7 +83,7 @@ namespace k8s.Models /// /// Gets or sets standard list metadata More info: - /// http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata /// [JsonProperty(PropertyName = "metadata")] public V1ListMeta Metadata { get; set; } diff --git a/src/generated/Models/V1beta1CustomResourceDefinitionNames.cs b/src/generated/Models/V1beta1CustomResourceDefinitionNames.cs index e0aa560..592f72c 100644 --- a/src/generated/Models/V1beta1CustomResourceDefinitionNames.cs +++ b/src/generated/Models/V1beta1CustomResourceDefinitionNames.cs @@ -37,6 +37,8 @@ namespace k8s.Models /// serve. It must match the name of the /// CustomResourceDefinition-registration too: plural.group and it must /// be all lowercase. + /// Categories is a list of grouped resources + /// custom resources belong to (e.g. 'all') /// ListKind is the serialized kind of the list /// for this resource. Defaults to <kind>List. /// ShortNames are short names for the @@ -44,8 +46,9 @@ namespace k8s.Models /// Singular is the singular name of the /// resource. It must be all lowercase Defaults to lowercased /// <kind> - public V1beta1CustomResourceDefinitionNames(string kind, string plural, string listKind = default(string), IList shortNames = default(IList), string singular = default(string)) + public V1beta1CustomResourceDefinitionNames(string kind, string plural, IList categories = default(IList), string listKind = default(string), IList shortNames = default(IList), string singular = default(string)) { + Categories = categories; Kind = kind; ListKind = listKind; Plural = plural; @@ -59,6 +62,13 @@ namespace k8s.Models /// partial void CustomInit(); + /// + /// Gets or sets categories is a list of grouped resources custom + /// resources belong to (e.g. 'all') + /// + [JsonProperty(PropertyName = "categories")] + public IList Categories { get; set; } + /// /// Gets or sets kind is the serialized kind of the resource. It is /// normally CamelCase and singular. diff --git a/src/generated/Models/V1beta1CustomResourceDefinitionSpec.cs b/src/generated/Models/V1beta1CustomResourceDefinitionSpec.cs index 2bbb853..b12532f 100644 --- a/src/generated/Models/V1beta1CustomResourceDefinitionSpec.cs +++ b/src/generated/Models/V1beta1CustomResourceDefinitionSpec.cs @@ -37,13 +37,18 @@ namespace k8s.Models /// cluster or namespace scoped. Default is namespaced /// Version is the version this resource belongs /// in + /// 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. /// Validation describes the validation /// methods for CustomResources - public V1beta1CustomResourceDefinitionSpec(string group, V1beta1CustomResourceDefinitionNames names, string scope, string version, V1beta1CustomResourceValidation validation = default(V1beta1CustomResourceValidation)) + public V1beta1CustomResourceDefinitionSpec(string group, V1beta1CustomResourceDefinitionNames names, string scope, string version, V1beta1CustomResourceSubresources subresources = default(V1beta1CustomResourceSubresources), V1beta1CustomResourceValidation validation = default(V1beta1CustomResourceValidation)) { Group = group; Names = names; Scope = scope; + Subresources = subresources; Validation = validation; Version = version; CustomInit(); @@ -74,6 +79,15 @@ namespace k8s.Models [JsonProperty(PropertyName = "scope")] public string Scope { get; set; } + /// + /// 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. + /// + [JsonProperty(PropertyName = "subresources")] + public V1beta1CustomResourceSubresources Subresources { get; set; } + /// /// Gets or sets validation describes the validation methods for /// CustomResources @@ -115,6 +129,10 @@ namespace k8s.Models { Names.Validate(); } + if (Subresources != null) + { + Subresources.Validate(); + } if (Validation != null) { Validation.Validate(); diff --git a/src/generated/Models/V1beta1CustomResourceSubresourceScale.cs b/src/generated/Models/V1beta1CustomResourceSubresourceScale.cs new file mode 100644 index 0000000..467beba --- /dev/null +++ b/src/generated/Models/V1beta1CustomResourceSubresourceScale.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.Linq; + + /// + /// CustomResourceSubresourceScale defines how to serve the scale + /// subresource for CustomResources. + /// + public partial class V1beta1CustomResourceSubresourceScale + { + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceSubresourceScale class. + /// + public V1beta1CustomResourceSubresourceScale() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// V1beta1CustomResourceSubresourceScale class. + /// + /// SpecReplicasPath defines the JSON + /// path inside of a CustomResource that corresponds to + /// Scale.Spec.Replicas. Only JSON paths without the array notation are + /// allowed. Must be a JSON Path under .spec. If there is no value + /// under the given path in the CustomResource, the /scale subresource + /// will return an error on GET. + /// StatusReplicasPath defines the + /// JSON path inside of a CustomResource that corresponds to + /// Scale.Status.Replicas. Only JSON paths without the array notation + /// are allowed. Must be a JSON Path under .status. If there is no + /// value under the given path in the CustomResource, the status + /// replica value in the /scale subresource will default to 0. + /// LabelSelectorPath defines the JSON + /// path inside of a CustomResource that corresponds to + /// Scale.Status.Selector. Only JSON paths without the array notation + /// are allowed. Must be a JSON Path under .status. Must be set to work + /// with HPA. If there is no value under the given path in the + /// CustomResource, the status label selector value in the /scale + /// subresource will default to the empty string. + public V1beta1CustomResourceSubresourceScale(string specReplicasPath, string statusReplicasPath, string labelSelectorPath = default(string)) + { + LabelSelectorPath = labelSelectorPath; + SpecReplicasPath = specReplicasPath; + StatusReplicasPath = statusReplicasPath; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets labelSelectorPath defines the JSON path inside of a + /// CustomResource that corresponds to Scale.Status.Selector. Only JSON + /// paths without the array notation are allowed. Must be a JSON Path + /// under .status. Must be set to work with HPA. If there is no value + /// under the given path in the CustomResource, the status label + /// selector value in the /scale subresource will default to the empty + /// string. + /// + [JsonProperty(PropertyName = "labelSelectorPath")] + public string LabelSelectorPath { get; set; } + + /// + /// Gets or sets specReplicasPath defines the JSON path inside of a + /// CustomResource that corresponds to Scale.Spec.Replicas. Only JSON + /// paths without the array notation are allowed. Must be a JSON Path + /// under .spec. If there is no value under the given path in the + /// CustomResource, the /scale subresource will return an error on GET. + /// + [JsonProperty(PropertyName = "specReplicasPath")] + public string SpecReplicasPath { get; set; } + + /// + /// Gets or sets statusReplicasPath defines the JSON path inside of a + /// CustomResource that corresponds to Scale.Status.Replicas. Only JSON + /// paths without the array notation are allowed. Must be a JSON Path + /// under .status. If there is no value under the given path in the + /// CustomResource, the status replica value in the /scale subresource + /// will default to 0. + /// + [JsonProperty(PropertyName = "statusReplicasPath")] + public string StatusReplicasPath { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (SpecReplicasPath == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "SpecReplicasPath"); + } + if (StatusReplicasPath == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StatusReplicasPath"); + } + } + } +} diff --git a/src/generated/Models/V1beta1CustomResourceSubresources.cs b/src/generated/Models/V1beta1CustomResourceSubresources.cs new file mode 100644 index 0000000..900b29f --- /dev/null +++ b/src/generated/Models/V1beta1CustomResourceSubresources.cs @@ -0,0 +1,75 @@ +// +// 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; + + /// + /// CustomResourceSubresources defines the status and scale subresources + /// for CustomResources. + /// + public partial class V1beta1CustomResourceSubresources + { + /// + /// Initializes a new instance of the V1beta1CustomResourceSubresources + /// class. + /// + public V1beta1CustomResourceSubresources() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1CustomResourceSubresources + /// class. + /// + /// Scale denotes the scale subresource for + /// CustomResources + /// Status denotes the status subresource for + /// CustomResources + public V1beta1CustomResourceSubresources(V1beta1CustomResourceSubresourceScale scale = default(V1beta1CustomResourceSubresourceScale), object status = default(object)) + { + Scale = scale; + Status = status; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets scale denotes the scale subresource for + /// CustomResources + /// + [JsonProperty(PropertyName = "scale")] + public V1beta1CustomResourceSubresourceScale Scale { get; set; } + + /// + /// Gets or sets status denotes the status subresource for + /// CustomResources + /// + [JsonProperty(PropertyName = "status")] + public object Status { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Scale != null) + { + Scale.Validate(); + } + } + } +} diff --git a/src/generated/Models/V1beta1EventSeries.cs b/src/generated/Models/V1beta1EventSeries.cs index b049922..3fd4489 100644 --- a/src/generated/Models/V1beta1EventSeries.cs +++ b/src/generated/Models/V1beta1EventSeries.cs @@ -12,7 +12,7 @@ namespace k8s.Models /// /// EventSeries contain information on series of events, i.e. thing that - /// was/is happening continously for some time. + /// was/is happening continuously for some time. /// public partial class V1beta1EventSeries { diff --git a/src/generated/Models/V1beta1VolumeAttachment.cs b/src/generated/Models/V1beta1VolumeAttachment.cs new file mode 100644 index 0000000..50311df --- /dev/null +++ b/src/generated/Models/V1beta1VolumeAttachment.cs @@ -0,0 +1,132 @@ +// +// 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; + + /// + /// VolumeAttachment captures the intent to attach or detach the specified + /// volume to/from the specified node. + /// + /// VolumeAttachment objects are non-namespaced. + /// + public partial class V1beta1VolumeAttachment + { + /// + /// Initializes a new instance of the V1beta1VolumeAttachment class. + /// + public V1beta1VolumeAttachment() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeAttachment class. + /// + /// Specification of the desired attach/detach + /// volume behavior. Populated by the Kubernetes system. + /// 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 object metadata. More info: + /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + /// Status of the VolumeAttachment request. + /// Populated by the entity completing the attach or detach operation, + /// i.e. the external-attacher. + public V1beta1VolumeAttachment(V1beta1VolumeAttachmentSpec spec, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1beta1VolumeAttachmentStatus status = default(V1beta1VolumeAttachmentStatus)) + { + 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 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 specification of the desired attach/detach volume + /// behavior. Populated by the Kubernetes system. + /// + [JsonProperty(PropertyName = "spec")] + public V1beta1VolumeAttachmentSpec Spec { get; set; } + + /// + /// Gets or sets status of the VolumeAttachment request. Populated by + /// the entity completing the attach or detach operation, i.e. the + /// external-attacher. + /// + [JsonProperty(PropertyName = "status")] + public V1beta1VolumeAttachmentStatus Status { get; set; } + + /// + /// 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(); + } + if (Spec != null) + { + Spec.Validate(); + } + if (Status != null) + { + Status.Validate(); + } + } + } +} diff --git a/src/generated/Models/V1beta1VolumeAttachmentList.cs b/src/generated/Models/V1beta1VolumeAttachmentList.cs new file mode 100644 index 0000000..d085fad --- /dev/null +++ b/src/generated/Models/V1beta1VolumeAttachmentList.cs @@ -0,0 +1,117 @@ +// +// 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; + + /// + /// VolumeAttachmentList is a collection of VolumeAttachment objects. + /// + public partial class V1beta1VolumeAttachmentList + { + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentList + /// class. + /// + public V1beta1VolumeAttachmentList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentList + /// class. + /// + /// Items is the list of VolumeAttachments + /// 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 V1beta1VolumeAttachmentList(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 VolumeAttachments + /// + [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/generated/Models/V1beta1VolumeAttachmentSource.cs b/src/generated/Models/V1beta1VolumeAttachmentSource.cs new file mode 100644 index 0000000..8598987 --- /dev/null +++ b/src/generated/Models/V1beta1VolumeAttachmentSource.cs @@ -0,0 +1,53 @@ +// +// 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; + + /// + /// VolumeAttachmentSource represents a volume that should be attached. + /// Right now only PersistenVolumes can be attached via external attacher, + /// in future we may allow also inline volumes in pods. Exactly one member + /// can be set. + /// + public partial class V1beta1VolumeAttachmentSource + { + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentSource + /// class. + /// + public V1beta1VolumeAttachmentSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentSource + /// class. + /// + /// Name of the persistent volume to + /// attach. + public V1beta1VolumeAttachmentSource(string persistentVolumeName = default(string)) + { + PersistentVolumeName = persistentVolumeName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the persistent volume to attach. + /// + [JsonProperty(PropertyName = "persistentVolumeName")] + public string PersistentVolumeName { get; set; } + + } +} diff --git a/src/generated/Models/V1beta1VolumeAttachmentSpec.cs b/src/generated/Models/V1beta1VolumeAttachmentSpec.cs new file mode 100644 index 0000000..97081cc --- /dev/null +++ b/src/generated/Models/V1beta1VolumeAttachmentSpec.cs @@ -0,0 +1,94 @@ +// +// 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; + + /// + /// VolumeAttachmentSpec is the specification of a VolumeAttachment + /// request. + /// + public partial class V1beta1VolumeAttachmentSpec + { + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentSpec + /// class. + /// + public V1beta1VolumeAttachmentSpec() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentSpec + /// class. + /// + /// Attacher indicates the name of the volume + /// driver that MUST handle this request. This is the name returned by + /// GetPluginName(). + /// The node that the volume should be attached + /// to. + /// Source represents the volume that should be + /// attached. + public V1beta1VolumeAttachmentSpec(string attacher, string nodeName, V1beta1VolumeAttachmentSource source) + { + Attacher = attacher; + NodeName = nodeName; + Source = source; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets attacher indicates the name of the volume driver that + /// MUST handle this request. This is the name returned by + /// GetPluginName(). + /// + [JsonProperty(PropertyName = "attacher")] + public string Attacher { get; set; } + + /// + /// Gets or sets the node that the volume should be attached to. + /// + [JsonProperty(PropertyName = "nodeName")] + public string NodeName { get; set; } + + /// + /// Gets or sets source represents the volume that should be attached. + /// + [JsonProperty(PropertyName = "source")] + public V1beta1VolumeAttachmentSource Source { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Attacher == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Attacher"); + } + if (NodeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "NodeName"); + } + if (Source == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Source"); + } + } + } +} diff --git a/src/generated/Models/V1beta1VolumeAttachmentStatus.cs b/src/generated/Models/V1beta1VolumeAttachmentStatus.cs new file mode 100644 index 0000000..21a1cf0 --- /dev/null +++ b/src/generated/Models/V1beta1VolumeAttachmentStatus.cs @@ -0,0 +1,106 @@ +// +// 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; + + /// + /// VolumeAttachmentStatus is the status of a VolumeAttachment request. + /// + public partial class V1beta1VolumeAttachmentStatus + { + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentStatus + /// class. + /// + public V1beta1VolumeAttachmentStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeAttachmentStatus + /// class. + /// + /// Indicates the volume is successfully + /// attached. This field must only be set by the entity completing the + /// attach operation, i.e. the external-attacher. + /// The last error encountered during attach + /// operation, if any. This field must only be set by the entity + /// completing the attach operation, i.e. the + /// external-attacher. + /// Upon successful attach, this field + /// is populated with any information returned by the attach operation + /// that must be passed into subsequent WaitForAttach or Mount calls. + /// This field must only be set by the entity completing the attach + /// operation, i.e. the external-attacher. + /// The last error encountered during detach + /// operation, if any. This field must only be set by the entity + /// completing the detach operation, i.e. the + /// external-attacher. + public V1beta1VolumeAttachmentStatus(bool attached, V1beta1VolumeError attachError = default(V1beta1VolumeError), IDictionary attachmentMetadata = default(IDictionary), V1beta1VolumeError detachError = default(V1beta1VolumeError)) + { + AttachError = attachError; + Attached = attached; + AttachmentMetadata = attachmentMetadata; + DetachError = detachError; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the last error encountered during attach operation, if + /// any. This field must only be set by the entity completing the + /// attach operation, i.e. the external-attacher. + /// + [JsonProperty(PropertyName = "attachError")] + public V1beta1VolumeError AttachError { get; set; } + + /// + /// Gets or sets indicates the volume is successfully attached. This + /// field must only be set by the entity completing the attach + /// operation, i.e. the external-attacher. + /// + [JsonProperty(PropertyName = "attached")] + public bool Attached { get; set; } + + /// + /// Gets or sets upon successful attach, this field is populated with + /// any information returned by the attach operation that must be + /// passed into subsequent WaitForAttach or Mount calls. This field + /// must only be set by the entity completing the attach operation, + /// i.e. the external-attacher. + /// + [JsonProperty(PropertyName = "attachmentMetadata")] + public IDictionary AttachmentMetadata { get; set; } + + /// + /// Gets or sets the last error encountered during detach operation, if + /// any. This field must only be set by the entity completing the + /// detach operation, i.e. the external-attacher. + /// + [JsonProperty(PropertyName = "detachError")] + public V1beta1VolumeError DetachError { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + } + } +} diff --git a/src/generated/Models/V1beta1VolumeError.cs b/src/generated/Models/V1beta1VolumeError.cs new file mode 100644 index 0000000..599c93f --- /dev/null +++ b/src/generated/Models/V1beta1VolumeError.cs @@ -0,0 +1,59 @@ +// +// 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; + + /// + /// VolumeError captures an error encountered during a volume operation. + /// + public partial class V1beta1VolumeError + { + /// + /// Initializes a new instance of the V1beta1VolumeError class. + /// + public V1beta1VolumeError() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V1beta1VolumeError class. + /// + /// String detailing the error encountered during + /// Attach or Detach operation. This string maybe logged, so it should + /// not contain sensitive information. + /// Time the error was encountered. + public V1beta1VolumeError(string message = default(string), System.DateTime? time = default(System.DateTime?)) + { + Message = message; + Time = time; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets string detailing the error encountered during Attach + /// or Detach operation. This string maybe logged, so it should not + /// contain sensitive information. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets time the error was encountered. + /// + [JsonProperty(PropertyName = "time")] + public System.DateTime? Time { get; set; } + + } +} diff --git a/src/generated/Models/V1beta1Webhook.cs b/src/generated/Models/V1beta1Webhook.cs index 0bc54e3..83dabe0 100644 --- a/src/generated/Models/V1beta1Webhook.cs +++ b/src/generated/Models/V1beta1Webhook.cs @@ -42,8 +42,8 @@ namespace k8s.Models /// to run the webhook on an object based on whether the namespace for /// that object matches the selector. If the object itself is a /// namespace, the matching is performed on object.metadata.labels. If - /// the object is other cluster scoped resource, it is not subjected to - /// the webhook. + /// the object is another cluster scoped resource, it never skips the + /// webhook. /// /// For example, to run the webhook on any objects whose namespace is /// not associated with "runlevel" of "0" or "1"; you will set the @@ -84,7 +84,13 @@ namespace k8s.Models /// everything. /// Rules describes what operations on what /// resources/subresources the webhook cares about. The webhook cares - /// about an operation if it matches _any_ Rule. + /// about an operation if it matches _any_ Rule. However, in order to + /// prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks + /// from putting the cluster in a state which cannot be recovered from + /// without completely disabling the plugin, + /// 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)) { ClientConfig = clientConfig; @@ -128,8 +134,8 @@ namespace k8s.Models /// Gets or sets namespaceSelector decides whether to run the webhook /// on an object based on whether the namespace for that object matches /// the selector. If the object itself is a namespace, the matching is - /// performed on object.metadata.labels. If the object is other cluster - /// scoped resource, it is not subjected to the webhook. + /// performed on object.metadata.labels. If the object is another + /// cluster scoped resource, it never skips the webhook. /// /// For example, to run the webhook on any objects whose namespace is /// not associated with "runlevel" of "0" or "1"; you will set the @@ -174,7 +180,13 @@ namespace k8s.Models /// /// Gets or sets rules describes what operations on what /// resources/subresources the webhook cares about. The webhook cares - /// about an operation if it matches _any_ Rule. + /// about an operation if it matches _any_ Rule. However, in order to + /// prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks + /// from putting the cluster in a state which cannot be recovered from + /// without completely disabling the plugin, + /// ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never + /// called on admission requests for ValidatingWebhookConfiguration and + /// MutatingWebhookConfiguration objects. /// [JsonProperty(PropertyName = "rules")] public IList Rules { get; set; } diff --git a/src/generated/Models/V2beta1ExternalMetricSource.cs b/src/generated/Models/V2beta1ExternalMetricSource.cs new file mode 100644 index 0000000..bcc8c92 --- /dev/null +++ b/src/generated/Models/V2beta1ExternalMetricSource.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; + + /// + /// 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. + /// + public partial class V2beta1ExternalMetricSource + { + /// + /// Initializes a new instance of the V2beta1ExternalMetricSource + /// class. + /// + public V2beta1ExternalMetricSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta1ExternalMetricSource + /// class. + /// + /// metricName is the name of the metric in + /// question. + /// metricSelector is used to identify a + /// specific time series within a given metric. + /// targetAverageValue is the target + /// per-pod value of global metric (as a quantity). Mutually exclusive + /// with TargetValue. + /// targetValue is the target value of the + /// metric (as a quantity). Mutually exclusive with + /// TargetAverageValue. + public V2beta1ExternalMetricSource(string metricName, V1LabelSelector metricSelector = default(V1LabelSelector), ResourceQuantity targetAverageValue = default(ResourceQuantity), ResourceQuantity targetValue = default(ResourceQuantity)) + { + MetricName = metricName; + MetricSelector = metricSelector; + TargetAverageValue = targetAverageValue; + TargetValue = targetValue; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets metricName is the name of the metric in question. + /// + [JsonProperty(PropertyName = "metricName")] + public string MetricName { get; set; } + + /// + /// Gets or sets metricSelector is used to identify a specific time + /// series within a given metric. + /// + [JsonProperty(PropertyName = "metricSelector")] + public V1LabelSelector MetricSelector { get; set; } + + /// + /// Gets or sets targetAverageValue is the target per-pod value of + /// global metric (as a quantity). Mutually exclusive with TargetValue. + /// + [JsonProperty(PropertyName = "targetAverageValue")] + public ResourceQuantity TargetAverageValue { get; set; } + + /// + /// Gets or sets targetValue is the target value of the metric (as a + /// quantity). Mutually exclusive with TargetAverageValue. + /// + [JsonProperty(PropertyName = "targetValue")] + public ResourceQuantity TargetValue { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (MetricName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MetricName"); + } + } + } +} diff --git a/src/generated/Models/V2beta1ExternalMetricStatus.cs b/src/generated/Models/V2beta1ExternalMetricStatus.cs new file mode 100644 index 0000000..66752b0 --- /dev/null +++ b/src/generated/Models/V2beta1ExternalMetricStatus.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; + + /// + /// ExternalMetricStatus indicates the current value of a global metric not + /// associated with any Kubernetes object. + /// + public partial class V2beta1ExternalMetricStatus + { + /// + /// Initializes a new instance of the V2beta1ExternalMetricStatus + /// class. + /// + public V2beta1ExternalMetricStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the V2beta1ExternalMetricStatus + /// class. + /// + /// currentValue is the current value of the + /// metric (as a quantity) + /// metricName is the name of a metric used + /// for autoscaling in metric system. + /// currentAverageValue is the + /// current value of metric averaged over autoscaled pods. + /// metricSelector is used to identify a + /// specific time series within a given metric. + public V2beta1ExternalMetricStatus(ResourceQuantity currentValue, string metricName, ResourceQuantity currentAverageValue = default(ResourceQuantity), V1LabelSelector metricSelector = default(V1LabelSelector)) + { + CurrentAverageValue = currentAverageValue; + CurrentValue = currentValue; + MetricName = metricName; + MetricSelector = metricSelector; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets currentAverageValue is the current value of metric + /// averaged over autoscaled pods. + /// + [JsonProperty(PropertyName = "currentAverageValue")] + public ResourceQuantity CurrentAverageValue { get; set; } + + /// + /// Gets or sets currentValue is the current value of the metric (as a + /// quantity) + /// + [JsonProperty(PropertyName = "currentValue")] + public ResourceQuantity CurrentValue { get; set; } + + /// + /// Gets or sets metricName is the name of a metric used for + /// autoscaling in metric system. + /// + [JsonProperty(PropertyName = "metricName")] + public string MetricName { get; set; } + + /// + /// Gets or sets metricSelector is used to identify a specific time + /// series within a given metric. + /// + [JsonProperty(PropertyName = "metricSelector")] + public V1LabelSelector MetricSelector { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (CurrentValue == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CurrentValue"); + } + if (MetricName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MetricName"); + } + } + } +} diff --git a/src/generated/Models/V2beta1MetricSpec.cs b/src/generated/Models/V2beta1MetricSpec.cs index 5262d4f..7d5ab8b 100644 --- a/src/generated/Models/V2beta1MetricSpec.cs +++ b/src/generated/Models/V2beta1MetricSpec.cs @@ -27,8 +27,14 @@ namespace k8s.Models /// /// Initializes a new instance of the V2beta1MetricSpec class. /// - /// type is the type of metric source. It should - /// match one of the fields below. + /// 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). @@ -42,8 +48,9 @@ namespace k8s.Models /// 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 V2beta1MetricSpec(string type, V2beta1ObjectMetricSource objectProperty = default(V2beta1ObjectMetricSource), V2beta1PodsMetricSource pods = default(V2beta1PodsMetricSource), V2beta1ResourceMetricSource resource = default(V2beta1ResourceMetricSource)) + public V2beta1MetricSpec(string type, V2beta1ExternalMetricSource external = default(V2beta1ExternalMetricSource), V2beta1ObjectMetricSource objectProperty = default(V2beta1ObjectMetricSource), V2beta1PodsMetricSource pods = default(V2beta1PodsMetricSource), V2beta1ResourceMetricSource resource = default(V2beta1ResourceMetricSource)) { + External = external; ObjectProperty = objectProperty; Pods = pods; Resource = resource; @@ -56,6 +63,16 @@ namespace k8s.Models /// 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 V2beta1ExternalMetricSource External { get; set; } + /// /// Gets or sets object refers to a metric describing a single /// kubernetes object (for example, hits-per-second on an Ingress @@ -85,8 +102,9 @@ namespace k8s.Models public V2beta1ResourceMetricSource Resource { get; set; } /// - /// Gets or sets type is the type of metric source. It should match - /// one of the fields below. + /// 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; } @@ -103,6 +121,10 @@ namespace k8s.Models { throw new ValidationException(ValidationRules.CannotBeNull, "Type"); } + if (External != null) + { + External.Validate(); + } if (ObjectProperty != null) { ObjectProperty.Validate(); diff --git a/src/generated/Models/V2beta1MetricStatus.cs b/src/generated/Models/V2beta1MetricStatus.cs index 22eb1e1..2cd868d 100644 --- a/src/generated/Models/V2beta1MetricStatus.cs +++ b/src/generated/Models/V2beta1MetricStatus.cs @@ -26,8 +26,14 @@ namespace k8s.Models /// /// Initializes a new instance of the V2beta1MetricStatus class. /// - /// type is the type of metric source. It will - /// match one of the fields below. + /// 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). @@ -41,8 +47,9 @@ namespace k8s.Models /// 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 V2beta1MetricStatus(string type, V2beta1ObjectMetricStatus objectProperty = default(V2beta1ObjectMetricStatus), V2beta1PodsMetricStatus pods = default(V2beta1PodsMetricStatus), V2beta1ResourceMetricStatus resource = default(V2beta1ResourceMetricStatus)) + public V2beta1MetricStatus(string type, V2beta1ExternalMetricStatus external = default(V2beta1ExternalMetricStatus), V2beta1ObjectMetricStatus objectProperty = default(V2beta1ObjectMetricStatus), V2beta1PodsMetricStatus pods = default(V2beta1PodsMetricStatus), V2beta1ResourceMetricStatus resource = default(V2beta1ResourceMetricStatus)) { + External = external; ObjectProperty = objectProperty; Pods = pods; Resource = resource; @@ -55,6 +62,16 @@ namespace k8s.Models /// 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 V2beta1ExternalMetricStatus External { get; set; } + /// /// Gets or sets object refers to a metric describing a single /// kubernetes object (for example, hits-per-second on an Ingress @@ -84,8 +101,9 @@ namespace k8s.Models public V2beta1ResourceMetricStatus Resource { get; set; } /// - /// Gets or sets type is the type of metric source. It will match one - /// of the fields below. + /// 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; } @@ -102,6 +120,10 @@ namespace k8s.Models { throw new ValidationException(ValidationRules.CannotBeNull, "Type"); } + if (External != null) + { + External.Validate(); + } if (ObjectProperty != null) { ObjectProperty.Validate(); diff --git a/src/generated/swagger.json b/src/generated/swagger.json index b50ff36..b6816db 100644 --- a/src/generated/swagger.json +++ b/src/generated/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.9.2" + "version": "v1.10.0" }, "paths": { "/api/": { @@ -162,7 +162,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -320,7 +320,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -424,7 +424,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -528,7 +528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -632,7 +632,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -711,7 +711,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -950,7 +950,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1100,7 +1100,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1456,7 +1456,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1606,7 +1606,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1962,7 +1962,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2112,7 +2112,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2468,7 +2468,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2618,7 +2618,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2974,7 +2974,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3124,7 +3124,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3640,7 +3640,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3790,7 +3790,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5452,7 +5452,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5602,7 +5602,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5958,7 +5958,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6108,7 +6108,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6784,7 +6784,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6934,7 +6934,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7450,7 +7450,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7600,7 +7600,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7956,7 +7956,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8106,7 +8106,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8462,7 +8462,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8687,6 +8687,37 @@ "core_v1" ], "operationId": "deleteNamespacedService", + "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", @@ -9984,7 +10015,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -10134,7 +10165,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11159,7 +11190,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11238,7 +11269,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11388,7 +11419,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11905,7 +11936,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -12009,7 +12040,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -12022,1520 +12053,6 @@ } ] }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}": { - "get": { - "description": "proxy GET requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Pod", - "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 - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}": { - "get": { - "description": "proxy GET requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Pod", - "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": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "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 - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "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": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/nodes/{name}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/nodes/{name}/{path}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, "/api/v1/replicationcontrollers": { "get": { "description": "list or watch objects of kind ReplicationController", @@ -13627,7 +12144,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13731,7 +12248,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13835,7 +12352,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13939,7 +12456,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14043,7 +12560,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14110,7 +12627,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14177,7 +12694,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14244,7 +12761,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14311,7 +12828,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14378,7 +12895,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14453,7 +12970,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14536,7 +13053,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14611,7 +13128,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14694,7 +13211,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14769,7 +13286,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14852,7 +13369,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14927,7 +13444,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15010,7 +13527,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15085,7 +13602,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15168,7 +13685,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15243,7 +13760,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15326,7 +13843,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15401,7 +13918,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15484,7 +14001,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15559,7 +14076,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15642,7 +14159,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15717,7 +14234,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15800,7 +14317,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15875,7 +14392,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15958,7 +14475,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16033,7 +14550,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16116,7 +14633,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16191,7 +14708,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16274,7 +14791,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16349,7 +14866,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16416,7 +14933,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16491,7 +15008,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16558,7 +15075,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16625,7 +15142,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16700,7 +15217,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16767,7 +15284,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16834,7 +15351,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16901,7 +15418,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16968,7 +15485,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17035,7 +15552,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17102,7 +15619,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17169,7 +15686,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17347,7 +15864,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17497,7 +16014,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17825,7 +16342,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17900,7 +16417,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18012,7 +16529,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18162,7 +16679,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18502,7 +17019,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18652,7 +17169,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18980,7 +17497,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19055,7 +17572,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19122,7 +17639,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19197,7 +17714,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19342,7 +17859,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19492,7 +18009,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19890,7 +18407,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19965,7 +18482,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20011,6 +18528,741 @@ } } }, + "/apis/apiregistration.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": [ + "apiregistration_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiregistration.k8s.io/v1/apiservices": { + "get": { + "description": "list or watch objects of kind APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "listAPIService", + "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.APIServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "post": { + "description": "create an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "createAPIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteCollectionAPIService", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { + "get": { + "description": "read the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readAPIService", + "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/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 the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceAPIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "delete": { + "description": "delete an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteAPIService", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "patch": { + "description": "partially update 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": "patchAPIService", + "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, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "put": { + "description": "replace status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/watch/apiservices": { + "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/apiregistration.k8s.io/v1/watch/apiservices/{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 APIService", + "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/apiregistration.k8s.io/v1beta1/": { "get": { "description": "get available resources", @@ -20110,7 +19362,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20260,7 +19512,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20658,7 +19910,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20733,7 +19985,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20903,7 +20155,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21007,7 +20259,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21111,7 +20363,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21190,7 +20442,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21340,7 +20592,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21696,7 +20948,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21846,7 +21098,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22362,7 +21614,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22512,7 +21764,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23188,7 +22440,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23338,7 +22590,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24014,7 +23266,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24164,7 +23416,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24865,7 +24117,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24969,7 +24221,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25036,7 +24288,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25103,7 +24355,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25170,7 +24422,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25245,7 +24497,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25328,7 +24580,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25403,7 +24655,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25486,7 +24738,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25561,7 +24813,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25644,7 +24896,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25719,7 +24971,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25802,7 +25054,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25877,7 +25129,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25960,7 +25212,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26027,7 +25279,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26094,7 +25346,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26231,7 +25483,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26335,7 +25587,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26414,7 +25666,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26564,7 +25816,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26920,7 +26172,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27070,7 +26322,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27830,7 +27082,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27980,7 +27232,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28681,7 +27933,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28748,7 +28000,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28815,7 +28067,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28890,7 +28142,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28973,7 +28225,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29048,7 +28300,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29131,7 +28383,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29206,7 +28458,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29289,7 +28541,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29356,7 +28608,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29493,7 +28745,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29597,7 +28849,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29701,7 +28953,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29780,7 +29032,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29930,7 +29182,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30286,7 +29538,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30436,7 +29688,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30952,7 +30204,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31102,7 +30354,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31778,7 +31030,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31928,7 +31180,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32604,7 +31856,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32754,7 +32006,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33455,7 +32707,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33559,7 +32811,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33626,7 +32878,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33693,7 +32945,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33760,7 +33012,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33835,7 +33087,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33918,7 +33170,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33993,7 +33245,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34076,7 +33328,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34151,7 +33403,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34234,7 +33486,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34309,7 +33561,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34392,7 +33644,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34467,7 +33719,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34550,7 +33802,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34617,7 +33869,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34684,7 +33936,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35748,7 +35000,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35827,7 +35079,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35977,7 +35229,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36481,7 +35733,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36556,7 +35808,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36639,7 +35891,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36776,7 +36028,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36855,7 +36107,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37005,7 +36257,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37509,7 +36761,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37584,7 +36836,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37667,7 +36919,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37837,7 +37089,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37916,7 +37168,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38066,7 +37318,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38570,7 +37822,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38645,7 +37897,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38728,7 +37980,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38865,7 +38117,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38944,7 +38196,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39094,7 +38346,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39598,7 +38850,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39673,7 +38925,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39756,7 +39008,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39893,7 +39145,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39972,7 +39224,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40122,7 +39374,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40626,7 +39878,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40701,7 +39953,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40784,7 +40036,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40929,7 +40181,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41079,7 +40331,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41547,7 +40799,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41622,7 +40874,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41792,7 +41044,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41871,7 +41123,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42021,7 +41273,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42365,7 +41617,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42440,7 +41692,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42523,7 +41775,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42693,7 +41945,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42797,7 +42049,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42901,7 +42153,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42980,7 +42232,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43130,7 +42382,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43646,7 +42898,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43796,7 +43048,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44556,7 +43808,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44706,7 +43958,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45222,7 +44474,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45372,7 +44624,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45728,7 +44980,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45878,7 +45130,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46739,7 +45991,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46818,7 +46070,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46834,7 +46086,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicyList" } }, "401": { @@ -46871,7 +46123,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } } ], @@ -46879,19 +46131,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "401": { @@ -46968,7 +46220,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47046,7 +46298,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "401": { @@ -47083,7 +46335,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } } ], @@ -47091,13 +46343,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "401": { @@ -47210,7 +46462,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" } }, "401": { @@ -47333,7 +46585,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47400,7 +46652,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47467,7 +46719,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47534,7 +46786,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47609,7 +46861,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47692,7 +46944,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47767,7 +47019,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47850,7 +47102,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47925,7 +47177,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48008,7 +47260,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48083,7 +47335,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48166,7 +47418,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48241,7 +47493,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48324,7 +47576,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48391,7 +47643,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48458,7 +47710,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48533,7 +47785,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48600,7 +47852,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48745,7 +47997,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48895,7 +48147,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49276,7 +48528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49351,7 +48603,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49434,7 +48686,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49501,7 +48753,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49646,7 +48898,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49796,7 +49048,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50337,7 +49589,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50350,6 +49602,496 @@ } ] }, + "/apis/policy/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": [ + "policy_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 indicating the client must restart their list without the continue field. This field is not supported when watch is 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/policy.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "createPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_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 indicating the client must restart their list without the continue field. This field is not supported when watch is 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": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_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/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replacePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deletePodSecurityPolicy", + "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": "policy", + "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": [ + "policy_v1beta1" + ], + "operationId": "patchPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "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/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { "parameters": [ { @@ -50412,7 +50154,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50495,7 +50237,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50562,7 +50304,149 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "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": { + "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/policy/v1beta1/watch/podsecuritypolicies/{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 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" }, @@ -50707,7 +50591,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50857,7 +50741,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51181,7 +51065,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51331,7 +51215,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51655,7 +51539,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51805,7 +51689,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52145,7 +52029,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52295,7 +52179,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52660,7 +52544,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52764,7 +52648,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52831,7 +52715,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52906,7 +52790,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52973,7 +52857,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53048,7 +52932,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53123,7 +53007,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53206,7 +53090,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53281,7 +53165,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53364,7 +53248,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53431,7 +53315,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53498,7 +53382,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53610,7 +53494,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53760,7 +53644,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54084,7 +53968,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54234,7 +54118,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54558,7 +54442,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54708,7 +54592,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55048,7 +54932,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55198,7 +55082,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55563,7 +55447,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55667,7 +55551,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55734,7 +55618,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55809,7 +55693,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55876,7 +55760,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55951,7 +55835,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56026,7 +55910,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56109,7 +55993,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56184,7 +56068,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56267,7 +56151,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56334,7 +56218,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56401,7 +56285,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56513,7 +56397,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56663,7 +56547,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56987,7 +56871,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57137,7 +57021,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57461,7 +57345,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57611,7 +57495,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57951,7 +57835,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58101,7 +57985,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58466,7 +58350,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58570,7 +58454,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58637,7 +58521,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58712,7 +58596,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58779,7 +58663,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58854,7 +58738,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58929,7 +58813,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59012,7 +58896,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59087,7 +58971,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59170,7 +59054,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59237,7 +59121,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59304,7 +59188,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59449,7 +59333,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59599,7 +59483,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59927,7 +59811,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60002,7 +59886,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60147,7 +60031,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60297,7 +60181,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60678,7 +60562,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60753,7 +60637,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60836,7 +60720,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60903,7 +60787,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61048,7 +60932,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61198,7 +61082,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61526,7 +61410,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61601,7 +61485,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61713,7 +61597,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61863,7 +61747,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62191,7 +62075,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62266,7 +62150,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62378,7 +62262,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62528,7 +62412,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62802,6 +62686,496 @@ } ] }, + "/apis/storage.k8s.io/v1beta1/volumeattachments": { + "get": { + "description": "list or watch objects of kind VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "listVolumeAttachment", + "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.VolumeAttachmentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "post": { + "description": "create a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "createVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteCollectionVolumeAttachment", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}": { + "get": { + "description": "read the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "readVolumeAttachment", + "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.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "replaceVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteVolumeAttachment", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified VolumeAttachment", + "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": [ + "storage_v1beta1" + ], + "operationId": "patchVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Patch" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "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" + } + ] + }, "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "parameters": [ { @@ -62856,7 +63230,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62931,7 +63305,149 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "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/storage.k8s.io/v1beta1/watch/volumeattachments": { + "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/storage.k8s.io/v1beta1/watch/volumeattachments/{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 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" }, @@ -63297,6 +63813,44 @@ ], "operationId": "replaceClusterCustomObject" }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "patch 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" + ], + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObject" + }, "delete": { "responses": { "200": { @@ -63452,6 +64006,44 @@ ], "operationId": "replaceNamespacedCustomObject" }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "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": { @@ -63669,16 +64261,6 @@ } } }, - "v1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource.", - "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "type": "integer", - "format": "int32" - } - } - }, "apps.v1beta1.RollbackConfig": { "description": "DEPRECATED.", "properties": { @@ -64033,7 +64615,7 @@ "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.", + "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": { @@ -64041,7 +64623,7 @@ "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "value": { @@ -64173,6 +64755,54 @@ } ] }, + "apps.v1beta1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "required": [ + "template" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created 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" + }, + "paused": { + "description": "Indicates that the deployment is paused.", + "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. Defaults to 600s.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", + "type": "integer", + "format": "int32" + }, + "rollbackTo": { + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", + "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, "v1beta1.NetworkPolicyList": { "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.", "required": [ @@ -64634,6 +65264,22 @@ } } }, + "policy.v1beta1.SELinuxStrategyOptions": { + "description": "SELinux Strategy Options 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.", + "type": "string" + }, + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/v1.SELinuxOptions" + } + } + }, "v1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -64685,6 +65331,22 @@ } } }, + "policy.v1beta1.SupplementalGroupsStrategyOptions": { + "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.", + "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.", + "type": "string" + } + } + }, "v1.SecretKeySelector": { "description": "SecretKeySelector selects a key of a Secret.", "required": [ @@ -64773,6 +65435,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.", + "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`", + "type": "string" + } + } + }, "v1.PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { @@ -65342,40 +66013,6 @@ } } }, - "v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy 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/v1beta1.PodSecurityPolicy" - } - }, - "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": "extensions", - "kind": "PodSecurityPolicyList", - "version": "v1beta1" - } - ] - }, "v1.DownwardAPIProjection": { "description": "Represents downward API info for projecting into a projected volume. Note that this is identical to a downwardAPI volume source without the default mode.", "properties": { @@ -65388,6 +66025,47 @@ } } }, + "v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "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's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaSpec" + }, + "status": { + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + ] + }, + "v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", + "properties": { + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "$ref": "#/definitions/v1.ClientIPConfig" + } + } + }, "v1beta1.ValidatingWebhookConfigurationList": { "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", "required": [ @@ -65523,6 +66201,31 @@ } } }, + "v1.APIServiceList": { + "description": "APIServiceList is a list of APIService 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": { + "type": "array", + "items": { + "$ref": "#/definitions/v1.APIService" + } + }, + "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.ListMeta" + } + } + }, "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", "required": [ @@ -65603,6 +66306,41 @@ } ] }, + "v1beta1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "required": [ + "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. If empty, defaulted to labels on Pod template. 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" + }, + "templateGeneration": { + "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", + "type": "integer", + "format": "int64" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" + } + } + }, "v1.AzureDiskVolumeSource": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "required": [ @@ -65699,8 +66437,16 @@ "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" }, + "binaryData": { + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, "data": { - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", "type": "object", "additionalProperties": { "type": "string" @@ -65723,24 +66469,33 @@ } ] }, - "v1beta1.IPBlock": { - "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "required": [ - "cidr" - ], + "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.", "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "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" }, - "except": { - "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", - "type": "array", - "items": { - "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. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicySpec" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] }, "v1beta2.RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", @@ -65891,7 +66646,7 @@ "$ref": "#/definitions/v1.ObjectReference" }, "csi": { - "description": "CSI represents storage that handled by an external CSI driver", + "description": "CSI represents storage that handled by an external CSI driver (Beta feature).", "$ref": "#/definitions/v1.CSIPersistentVolumeSource" }, "fc": { @@ -65900,7 +66655,7 @@ }, "flexVolume": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "$ref": "#/definitions/v1.FlexVolumeSource" + "$ref": "#/definitions/v1.FlexPersistentVolumeSource" }, "flocker": { "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", @@ -65937,8 +66692,12 @@ "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "$ref": "#/definitions/v1.NFSVolumeSource" }, + "nodeAffinity": { + "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", + "$ref": "#/definitions/v1.VolumeNodeAffinity" + }, "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", "type": "string" }, "photonPersistentDisk": { @@ -66161,6 +66920,30 @@ } } }, + "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.", + "required": [ + "metricName" + ], + "properties": { + "metricName": { + "description": "metricName is the name of the metric in question.", + "type": "string" + }, + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "targetAverageValue": { + "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.", + "$ref": "#/definitions/resource.Quantity" + }, + "targetValue": { + "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.", + "$ref": "#/definitions/resource.Quantity" + } + } + }, "v1.SubjectAccessReview": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "required": [ @@ -66376,6 +67159,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.SelfSubjectAccessReviewSpec": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -66481,22 +67286,17 @@ } } }, - "v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", - "required": [ - "rule" - ], + "v1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "conditions": { + "description": "Current service state of apiService.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } - }, - "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", - "type": "string" + "$ref": "#/definitions/v1.APIServiceCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } } }, @@ -66614,6 +67414,18 @@ } } }, + "extensions.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the Flexvolume driver.", + "type": "string" + } + } + }, "v1beta1.PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "required": [ @@ -66699,6 +67511,11 @@ "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" @@ -66818,6 +67635,110 @@ } } }, + "extensions.v1beta1.PodSecurityPolicySpec": { + "description": "Pod Security Policy Spec defines the policy enforced.", + "required": [ + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" + ], + "properties": { + "allowPrivilegeEscalation": { + "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.", + "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.", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.AllowedHostPath" + } + }, + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAllowPrivilegeEscalation": { + "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "fsGroup": { + "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "$ref": "#/definitions/extensions.v1beta1.FSGroupStrategyOptions" + }, + "hostIPC": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.HostPortRange" + } + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "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.", + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/extensions.v1beta1.RunAsUserStrategyOptions" + }, + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$ref": "#/definitions/extensions.v1beta1.SELinuxStrategyOptions" + }, + "supplementalGroups": { + "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.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.SubjectAccessReviewStatus": { "description": "SubjectAccessReviewStatus", "required": [ @@ -67169,7 +68090,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 alpha in 1.8 and can be reworked or removed in a future release.", + "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.", "type": "string" }, "name": { @@ -67582,6 +68503,13 @@ "kind" ], "properties": { + "categories": { + "description": "Categories is a list of grouped resources custom resources belong to (e.g. 'all')", + "type": "array", + "items": { + "type": "string" + } + }, "kind": { "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", "type": "string" @@ -67873,7 +68801,7 @@ "$ref": "#/definitions/v1.ConfigMapEnvSource" }, "prefix": { - "description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, "secretRef": { @@ -67961,7 +68889,7 @@ ] }, "v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continously for some time.", + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", @@ -67969,7 +68897,7 @@ "format": "int32" }, "lastObservedTime": { - "description": "Time of the last occurence observed", + "description": "Time of the last occurrence observed", "type": "string", "format": "date-time" }, @@ -68089,34 +69017,6 @@ } } }, - "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.", - "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's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "spec defines the policy enforced.", - "$ref": "#/definitions/v1beta1.PodSecurityPolicySpec" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } - ] - }, "v1beta1.NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { @@ -68255,37 +69155,21 @@ } ] }, - "v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "extensions.v1beta1.SELinuxStrategyOptions": { + "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], "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", + "rule": { + "description": "type is the strategy that will dictate the allowable labels that may be set.", "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. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaSpec" - }, - "status": { - "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaStatus" + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/v1.SELinuxOptions" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - ] + } }, "v1.LimitRangeItem": { "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", @@ -68481,6 +69365,10 @@ "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/v2beta1.ExternalMetricSource" + }, "object": { "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", "$ref": "#/definitions/v2beta1.ObjectMetricSource" @@ -68494,7 +69382,7 @@ "$ref": "#/definitions/v2beta1.ResourceMetricSource" }, "type": { - "description": "type is the type of metric source. It should match one of the fields below.", + "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" } } @@ -68575,6 +69463,41 @@ } } }, + "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": [ @@ -68661,25 +69584,6 @@ } } }, - "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.", - "required": [ - "min", - "max" - ], - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "type": "integer", - "format": "int32" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "type": "integer", - "format": "int32" - } - } - }, "v1.HorizontalPodAutoscalerSpec": { "description": "specification of a horizontal pod autoscaler.", "required": [ @@ -68751,7 +69655,7 @@ "type": "string" }, "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, @@ -68784,6 +69688,10 @@ "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", "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.", + "$ref": "#/definitions/v1beta1.CustomResourceSubresources" + }, "validation": { "description": "Validation describes the validation methods for CustomResources", "$ref": "#/definitions/v1beta1.CustomResourceValidation" @@ -68841,6 +69749,35 @@ } ] }, + "v1.APIServiceCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, "v1.SecretEnvSource": { "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", "properties": { @@ -68854,6 +69791,39 @@ } } }, + "v1beta1.ValidatingWebhookConfiguration": { + "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", + "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" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Webhook" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + } + ] + }, "v1.NodeSpec": { "description": "NodeSpec describes the attributes that a node is created with.", "properties": { @@ -68903,6 +69873,15 @@ } } }, + "v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "properties": { + "required": { + "description": "Required specifies hard node constraints that must be met.", + "$ref": "#/definitions/v1.NodeSelector" + } + } + }, "v1beta2.DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", "required": [ @@ -69067,6 +70046,22 @@ } } }, + "policy.v1beta1.FSGroupStrategyOptions": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } + }, + "rule": { + "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", "required": [ @@ -69152,6 +70147,22 @@ } } }, + "extensions.v1beta1.SupplementalGroupsStrategyOptions": { + "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.", + "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" + } + } + }, "v1.PersistentVolumeStatus": { "description": "PersistentVolumeStatus is the current status of a persistent volume.", "properties": { @@ -69401,6 +70412,19 @@ } } }, + "v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + } + } + }, "v1.PersistentVolumeClaimCondition": { "description": "PersistentVolumeClaimCondition contails details about state of pvc", "required": [ @@ -69513,6 +70537,15 @@ } ] }, + "v1beta1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, "v1beta1.ExternalDocumentation": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { @@ -69750,6 +70783,25 @@ } } }, + "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.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" + } + } + }, "v1.DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { @@ -69887,6 +70939,25 @@ } } }, + "extensions.v1beta1.RunAsUserStrategyOptions": { + "description": "Run A sUser Strategy Options 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.", + "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.", + "type": "string" + } + } + }, "v1beta1.CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { @@ -69980,6 +71051,94 @@ } } }, + "v1.Event": { + "description": "Event is a report of an event somewhere in the cluster.", + "required": [ + "metadata", + "involvedObject" + ], + "properties": { + "action": { + "description": "What action was taken/failed regarding to the Regarding object.", + "type": "string" + }, + "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" + }, + "count": { + "description": "The number of times this event has occurred.", + "type": "integer", + "format": "int32" + }, + "eventTime": { + "description": "Time when this Event was first observed.", + "type": "string", + "format": "date-time" + }, + "firstTimestamp": { + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "type": "string", + "format": "date-time" + }, + "involvedObject": { + "description": "The object that this event is about.", + "$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" + }, + "lastTimestamp": { + "description": "The time at which the most recent occurrence of this event was recorded.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "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" + }, + "reason": { + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "type": "string" + }, + "related": { + "description": "Optional secondary object for more complex actions.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "reportingComponent": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "description": "Data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/v1.EventSeries" + }, + "source": { + "description": "The component reporting this event. Should be a short machine understandable string.", + "$ref": "#/definitions/v1.EventSource" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] + }, "v1beta1.IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { @@ -70057,6 +71216,27 @@ } } }, + "v1beta1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", + "required": [ + "specReplicasPath", + "statusReplicasPath" + ], + "properties": { + "labelSelectorPath": { + "description": "LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string.", + "type": "string" + }, + "specReplicasPath": { + "description": "SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET.", + "type": "string" + }, + "statusReplicasPath": { + "description": "StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.", + "type": "string" + } + } + }, "version.Info": { "description": "Info contains versioning information. how we'll want to distribute that information.", "required": [ @@ -70424,91 +71604,37 @@ } } }, - "v1.Event": { - "description": "Event is a report of an event somewhere in the cluster.", + "v1beta1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "required": [ - "metadata", - "involvedObject" + "spec" ], "properties": { - "action": { - "description": "What action was taken/failed regarding to the Regarding object.", - "type": "string" - }, "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" }, - "count": { - "description": "The number of times this event has occurred.", - "type": "integer", - "format": "int32" - }, - "eventTime": { - "description": "Time when this Event was first observed.", - "type": "string", - "format": "date-time" - }, - "firstTimestamp": { - "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", - "type": "string", - "format": "date-time" - }, - "involvedObject": { - "description": "The object that this event is about.", - "$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" }, - "lastTimestamp": { - "description": "The time at which the most recent occurrence of this event was recorded.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "A human-readable description of the status of this operation.", - "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" }, - "reason": { - "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", - "type": "string" + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewSpec" }, - "related": { - "description": "Optional secondary object for more complex actions.", - "$ref": "#/definitions/v1.ObjectReference" - }, - "reportingComponent": { - "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", - "type": "string" - }, - "reportingInstance": { - "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", - "type": "string" - }, - "series": { - "description": "Data about the Event series this event represents or nil if it's a singleton Event.", - "$ref": "#/definitions/v1.EventSeries" - }, - "source": { - "description": "The component reporting this event. Should be a short machine understandable string.", - "$ref": "#/definitions/v1.EventSource" - }, - "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future", - "type": "string" + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" } }, "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "Event", - "version": "v1" + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1beta1" } ] }, @@ -70858,7 +71984,7 @@ "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 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.", "$ref": "#/definitions/intstr.IntOrString" }, "maxUnavailable": { @@ -70936,6 +72062,10 @@ "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/v2beta1.ExternalMetricStatus" + }, "object": { "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", "$ref": "#/definitions/v2beta1.ObjectMetricStatus" @@ -70949,7 +72079,7 @@ "$ref": "#/definitions/v2beta1.ResourceMetricStatus" }, "type": { - "description": "type is the type of metric source. It will match one of the fields below.", + "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" } } @@ -70973,6 +72103,110 @@ } } }, + "policy.v1beta1.PodSecurityPolicySpec": { + "description": "Pod Security Policy Spec defines the policy enforced.", + "required": [ + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" + ], + "properties": { + "allowPrivilegeEscalation": { + "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.", + "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.", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.AllowedHostPath" + } + }, + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAllowPrivilegeEscalation": { + "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "fsGroup": { + "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "$ref": "#/definitions/policy.v1beta1.FSGroupStrategyOptions" + }, + "hostIPC": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.HostPortRange" + } + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "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.", + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/policy.v1beta1.RunAsUserStrategyOptions" + }, + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$ref": "#/definitions/policy.v1beta1.SELinuxStrategyOptions" + }, + "supplementalGroups": { + "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.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ @@ -71041,6 +72275,38 @@ } } }, + "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.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" + } + } + }, + "runtime.RawExtension": { + "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "required": [ + "Raw" + ], + "properties": { + "Raw": { + "description": "Raw is the underlying serialization of this object.", + "type": "string", + "format": "byte" + } + } + }, "v1.FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "required": [ @@ -71766,6 +73032,40 @@ } } }, + "v1beta1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment 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 VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "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": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1beta1" + } + ] + }, "v1beta1.AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { @@ -71885,11 +73185,11 @@ "type": "string" }, "namespaceSelector": { - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is other cluster scoped resource, it is not subjected to the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", "$ref": "#/definitions/v1.LabelSelector" }, "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.", + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", "type": "array", "items": { "$ref": "#/definitions/v1beta1.RuleWithOperations" @@ -71914,38 +73214,14 @@ } } }, - "v1beta1.MutatingWebhookConfiguration": { - "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", + "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.", "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", + "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`", "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" - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Webhook" - }, - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "MutatingWebhookConfiguration", - "version": "v1beta1" - } - ] + } }, "v2beta1.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.", @@ -72270,36 +73546,22 @@ } } }, - "v1beta1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "v1beta1.IPBlock": { + "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "required": [ + "cidr" + ], "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", + "cidr": { + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", "type": "string" }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", - "type": "string" - }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" - }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" - }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", - "type": "string" - }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "except": { + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -72412,7 +73674,7 @@ } }, "v1beta1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continously for some time.", + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "required": [ "count", "lastObservedTime", @@ -72826,6 +74088,25 @@ } ] }, + "policy.v1beta1.IDRange": { + "description": "ID Range provides a min/max of an allowed range of IDs.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "Max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" + }, + "min": { + "description": "Min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" + } + } + }, "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": [ @@ -72874,16 +74155,15 @@ } } }, - "runtime.RawExtension": { - "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "policy.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", "required": [ - "Raw" + "driver" ], "properties": { - "Raw": { - "description": "Raw is the underlying serialization of this object.", - "type": "string", - "format": "byte" + "driver": { + "description": "Driver is the name of the Flexvolume driver.", + "type": "string" } } }, @@ -72897,6 +74177,30 @@ } } }, + "v1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", + "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 contains information for locating and communicating with a server", + "$ref": "#/definitions/v1.APIServiceSpec" + }, + "status": { + "description": "Status contains derived information about an API server", + "$ref": "#/definitions/v1.APIServiceStatus" + } + } + }, "v1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -72935,6 +74239,37 @@ } } }, + "v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/v1.SecretReference" + } + } + }, "v1.ServiceList": { "description": "ServiceList holds a list of services.", "required": [ @@ -73155,22 +74490,6 @@ } ] }, - "v1beta1.SupplementalGroupsStrategyOptions": { - "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.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } - }, - "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", - "type": "string" - } - } - }, "v1beta1.ControllerRevision": { "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "required": [ @@ -73298,6 +74617,34 @@ } } }, + "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.", + "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's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] + }, "v1alpha1.VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", "properties": { @@ -73527,6 +74874,40 @@ } ] }, + "policy.v1beta1.PodSecurityPolicyList": { + "description": "Pod Security Policy List is a list of PodSecurityPolicy 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/policy.v1beta1.PodSecurityPolicy" + } + }, + "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": "policy", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" + } + ] + }, "v1.TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "required": [ @@ -73771,46 +75152,8 @@ } ] }, - "v1beta1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "required": [ - "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. If empty, defaulted to labels on Pod template. 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" - }, - "templateGeneration": { - "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", - "format": "int64" - }, - "updateStrategy": { - "description": "An update strategy to replace existing DaemonSet pods with new pods.", - "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" - } - } - }, "v1.Endpoints": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "required": [ - "subsets" - ], "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", @@ -73840,15 +75183,6 @@ } ] }, - "v1.SessionAffinityConfig": { - "description": "SessionAffinityConfig represents the configurations of session affinity.", - "properties": { - "clientIP": { - "description": "clientIP contains the configurations of Client IP based session affinity.", - "$ref": "#/definitions/v1.ClientIPConfig" - } - } - }, "v1.PortworxVolumeSource": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "required": [ @@ -73972,15 +75306,6 @@ } ] }, - "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.", - "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`", - "type": "string" - } - } - }, "v1.OwnerReference": { "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", "required": [ @@ -74141,6 +75466,25 @@ } } }, + "policy.v1beta1.RunAsUserStrategyOptions": { + "description": "Run A sUser Strategy Options 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.", + "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.", + "type": "string" + } + } + }, "extensions.v1beta1.DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { @@ -74266,38 +75610,24 @@ } ] }, - "v1beta1.ValidatingWebhookConfiguration": { - "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", + "extensions.v1beta1.IDRange": { + "description": "ID Range provides a min/max of an allowed range of IDs.", + "required": [ + "min", + "max" + ], "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" + "max": { + "description": "Max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" }, - "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" - }, - "webhooks": { - "description": "Webhooks is a list of webhooks and the affected resources and operations.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Webhook" - }, - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" + "min": { + "description": "Min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ValidatingWebhookConfiguration", - "version": "v1beta1" - } - ] + } }, "v1beta1.DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", @@ -74407,6 +75737,19 @@ } } }, + "v1beta1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "properties": { + "scale": { + "description": "Scale denotes the scale subresource for CustomResources", + "$ref": "#/definitions/v1beta1.CustomResourceSubresourceScale" + }, + "status": { + "description": "Status denotes the status subresource for CustomResources", + "type": "object" + } + } + }, "v2beta1.ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "required": [ @@ -74731,6 +76074,33 @@ } ] }, + "v1beta1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeError" + } + } + }, "v1.ContainerStateTerminated": { "description": "ContainerStateTerminated is a terminated state of a container.", "required": [ @@ -74878,6 +76248,10 @@ "description": "A human readable message indicating details about why the pod is in this condition.", "type": "string" }, + "nominatedNodeName": { + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", + "type": "string" + }, "phase": { "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" @@ -74887,7 +76261,7 @@ "type": "string" }, "qosClass": { - "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md", + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", "type": "string" }, "reason": { @@ -75111,22 +76485,6 @@ } ] }, - "v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options 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.", - "type": "string" - }, - "seLinuxOptions": { - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", - "$ref": "#/definitions/v1.SELinuxOptions" - } - } - }, "v1alpha1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -75391,6 +76749,39 @@ } } }, + "v1beta1.MutatingWebhookConfiguration": { + "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", + "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" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Webhook" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + } + ] + }, "v1.ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ @@ -75452,40 +76843,6 @@ } } }, - "v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", - "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 ClusterRoleBindings", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" - } - }, - "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": "ClusterRoleBindingList", - "version": "v1alpha1" - } - ] - }, "v1.ContainerImage": { "description": "Describe a container image", "required": [ @@ -75493,7 +76850,7 @@ ], "properties": { "names": { - "description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", + "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", "type": "array", "items": { "type": "string" @@ -75898,26 +77255,90 @@ } }, "v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver", + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "required": [ "driver", "volumeHandle" ], "properties": { + "controllerPublishSecretRef": { + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, "driver": { "description": "Driver is the name of the driver to use for this volume. Required.", "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.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, + "nodeStageSecretRef": { + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", "type": "boolean" }, + "volumeAttributes": { + "description": "Attributes of the volume to publish.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "volumeHandle": { "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.", "type": "string" } } }, + "extensions.v1beta1.FSGroupStrategyOptions": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "type": "string" + } + } + }, + "v2beta1.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metricName", + "currentValue" + ], + "properties": { + "currentAverageValue": { + "description": "currentAverageValue is the current value of metric averaged over autoscaled pods.", + "$ref": "#/definitions/resource.Quantity" + }, + "currentValue": { + "description": "currentValue is the current value of the metric (as a quantity)", + "$ref": "#/definitions/resource.Quantity" + }, + "metricName": { + "description": "metricName is the name of a metric used for autoscaling in metric system.", + "type": "string" + }, + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/v1.LabelSelector" + } + } + }, "v1.HorizontalPodAutoscalerList": { "description": "list of horizontal pod autoscaler objects.", "required": [ @@ -76145,6 +77566,57 @@ } } }, + "v1.Preconditions": { + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "properties": { + "uid": { + "description": "Specifies the target UID.", + "type": "string" + } + } + }, + "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" + ], + "properties": { + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "type": "string", + "format": "byte" + }, + "group": { + "description": "Group is the API group name this server hosts", + "type": "string" + }, + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number 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) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "type": "integer", + "format": "int32" + }, + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" + }, + "service": { + "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", + "$ref": "#/definitions/v1.ServiceReference" + }, + "version": { + "description": "Version is the API version this server hosts. For example, \"v1\"", + "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.", + "type": "integer", + "format": "int32" + } + } + }, "v1beta1.CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "required": [ @@ -76390,11 +77862,11 @@ "x-kubernetes-patch-strategy": "merge" }, "dnsConfig": { - "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. This is an alpha feature introduced in v1.9 and CustomPodDNS feature gate must be enabled to use it.", + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", "$ref": "#/definitions/v1.PodDNSConfig" }, "dnsPolicy": { - "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. Note that 'None' policy is an alpha feature introduced in v1.9 and CustomPodDNS feature gate must be enabled to use it.", + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, "hostAliases": { @@ -76457,7 +77929,7 @@ "format": "int32" }, "priorityClassName": { - "description": "If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates 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.", + "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" }, "restartPolicy": { @@ -76480,6 +77952,10 @@ "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", "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.", + "type": "boolean" + }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", "type": "string" @@ -76632,12 +78108,17 @@ } } }, - "v1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", + "v1beta1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "properties": { - "token": { - "description": "Token is the opaque bearer token.", + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "type": "string", + "format": "date-time" } } }, @@ -76719,54 +78200,6 @@ } } }, - "apps.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "required": [ - "template" - ], - "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created 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" - }, - "paused": { - "description": "Indicates that the deployment is paused.", - "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. Defaults to 600s.", - "type": "integer", - "format": "int32" - }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", - "format": "int32" - }, - "rollbackTo": { - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", - "$ref": "#/definitions/apps.v1beta1.RollbackConfig" - }, - "selector": { - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/v1.LabelSelector" - }, - "strategy": { - "description": "The deployment strategy to use to replace existing pods with new ones.", - "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" - }, - "template": { - "description": "Template describes the pods that will be created.", - "$ref": "#/definitions/v1.PodTemplateSpec" - } - } - }, "v1beta1.JSONSchemaPropsOrStringArray": { "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", "required": [ @@ -76924,107 +78357,36 @@ } ] }, - "v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", - "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" - ], + "v1beta1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" }, - "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.", - "type": "array", - "items": { - "type": "string" - } + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "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.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.AllowedFlexVolume" - } + "namespace": { + "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", + "type": "string" }, - "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.AllowedHostPath" - } + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "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.", - "type": "array", - "items": { - "type": "string" - } + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", + "type": "string" }, - "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" }, - "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.FSGroupStrategyOptions" - }, - "hostIPC": { - "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" - }, - "hostNetwork": { - "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" - }, - "hostPID": { - "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" - }, - "hostPorts": { - "description": "hostPorts determines which host port ranges are allowed to be exposed.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.HostPortRange" - } - }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "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.", - "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.", - "type": "array", - "items": { - "type": "string" - } - }, - "runAsUser": { - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", - "$ref": "#/definitions/v1beta1.RunAsUserStrategyOptions" - }, - "seLinux": { - "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", - "$ref": "#/definitions/v1beta1.SELinuxStrategyOptions" - }, - "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.SupplementalGroupsStrategyOptions" - }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", - "type": "array", - "items": { - "type": "string" - } + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", + "type": "string" } } }, @@ -77066,22 +78428,6 @@ } ] }, - "v1beta1.FSGroupStrategyOptions": { - "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.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } - }, - "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" - } - } - }, "v1.ReplicaSetStatus": { "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "required": [ @@ -77466,24 +78812,39 @@ } } }, - "v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "extensions.v1beta1.PodSecurityPolicyList": { + "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", "required": [ - "min", - "max" + "items" ], "properties": { - "max": { - "description": "Max is the end of the range, inclusive.", - "type": "integer", - "format": "int64" + "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" }, - "min": { - "description": "Min is the start of the range, inclusive.", - "type": "integer", - "format": "int64" + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "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": "extensions", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" + } + ] }, "v1.StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", @@ -77909,15 +79270,13 @@ } } }, - "v1beta1.AllowedFlexVolume": { - "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", - "required": [ - "driver" - ], + "v1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource.", "properties": { - "driver": { - "description": "Driver is the name of the Flexvolume driver.", - "type": "string" + "replicas": { + "description": "desired number of instances for the scaled object.", + "type": "integer", + "format": "int32" } } }, @@ -77939,11 +79298,11 @@ } } }, - "v1.Preconditions": { - "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "v1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { - "uid": { - "description": "Specifies the target UID.", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" } } @@ -78123,6 +79482,11 @@ "type": "integer", "format": "int64" }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "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 SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" @@ -78146,40 +79510,6 @@ } } }, - "v1beta1.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/v1beta1.SubjectAccessReviewSpec" - }, - "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1beta1" - } - ] - }, "v1beta2.ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { @@ -78190,6 +79520,40 @@ } } }, + "v1alpha1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "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 ClusterRoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "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": "ClusterRoleBindingList", + "version": "v1alpha1" + } + ] + }, "extensions.v1beta1.DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ diff --git a/src/generated/swagger.json.unprocessed b/src/generated/swagger.json.unprocessed index 29d40cf..ec890cf 100644 --- a/src/generated/swagger.json.unprocessed +++ b/src/generated/swagger.json.unprocessed @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.9.2" + "version": "v1.10.0" }, "paths": { "/api/": { @@ -162,7 +162,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -320,7 +320,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -424,7 +424,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -528,7 +528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -632,7 +632,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -711,7 +711,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -950,7 +950,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1100,7 +1100,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1456,7 +1456,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1606,7 +1606,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1962,7 +1962,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2112,7 +2112,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2468,7 +2468,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2618,7 +2618,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2974,7 +2974,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3124,7 +3124,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3640,7 +3640,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3790,7 +3790,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5452,7 +5452,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5602,7 +5602,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5958,7 +5958,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6108,7 +6108,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6784,7 +6784,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6934,7 +6934,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7450,7 +7450,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7600,7 +7600,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7956,7 +7956,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8106,7 +8106,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8462,7 +8462,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8687,6 +8687,37 @@ "core_v1" ], "operationId": "deleteCoreV1NamespacedService", + "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", @@ -9984,7 +10015,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -10134,7 +10165,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11159,7 +11190,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11238,7 +11269,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11388,7 +11419,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11905,7 +11936,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -12009,7 +12040,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -12022,1520 +12053,6 @@ } ] }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}": { - "get": { - "description": "proxy GET requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Pod", - "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 - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}": { - "get": { - "description": "proxy GET requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Pod", - "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": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "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 - } - ] - }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "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": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/nodes/{name}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/nodes/{name}/{path}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1GETNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PUTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1POSTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1DELETENodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1OPTIONSNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1HEADNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyCoreV1PATCHNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, "/api/v1/replicationcontrollers": { "get": { "description": "list or watch objects of kind ReplicationController", @@ -13627,7 +12144,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13731,7 +12248,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13835,7 +12352,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13939,7 +12456,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14043,7 +12560,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14147,7 +12664,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14251,7 +12768,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14355,7 +12872,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14459,7 +12976,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14563,7 +13080,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14675,7 +13192,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14795,7 +13312,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14907,7 +13424,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15027,7 +13544,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15139,7 +13656,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15259,7 +13776,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15371,7 +13888,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15491,7 +14008,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15603,7 +14120,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15723,7 +14240,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15835,7 +14352,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15955,7 +14472,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16067,7 +14584,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16187,7 +14704,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16299,7 +14816,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16419,7 +14936,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16531,7 +15048,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16651,7 +15168,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16763,7 +15280,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16883,7 +15400,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16995,7 +15512,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17115,7 +15632,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17227,7 +15744,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17347,7 +15864,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17459,7 +15976,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17563,7 +16080,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17675,7 +16192,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17779,7 +16296,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17883,7 +16400,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17995,7 +16512,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18099,7 +16616,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18203,7 +16720,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18307,7 +16824,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18411,7 +16928,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18515,7 +17032,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18619,7 +17136,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18723,7 +17240,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18901,7 +17418,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19051,7 +17568,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19416,7 +17933,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19528,7 +18045,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19640,7 +18157,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19790,7 +18307,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20130,7 +18647,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20280,7 +18797,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20645,7 +19162,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20757,7 +19274,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20861,7 +19378,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20973,7 +19490,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21118,7 +19635,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21268,7 +19785,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21703,7 +20220,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21815,7 +20332,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21861,6 +20378,815 @@ } } }, + "/apis/apiregistration.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": [ + "apiregistration_v1" + ], + "operationId": "getApiregistrationV1APIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/apiregistration.k8s.io/v1/apiservices": { + "get": { + "description": "list or watch objects of kind APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "listApiregistrationV1APIService", + "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.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "post": { + "description": "create an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "createApiregistrationV1APIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "delete": { + "description": "delete collection of APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteApiregistrationV1CollectionAPIService", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { + "get": { + "description": "read the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readApiregistrationV1APIService", + "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.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 the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceApiregistrationV1APIService", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "delete": { + "description": "delete an APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "deleteApiregistrationV1APIService", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "patch": { + "description": "partially update 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": "patchApiregistrationV1APIService", + "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, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "put": { + "description": "replace status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "replaceApiregistrationV1APIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1/watch/apiservices": { + "get": { + "description": "watch individual changes to a list of APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "watchApiregistrationV1APIServiceList", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "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/apiregistration.k8s.io/v1/watch/apiservices/{name}": { + "get": { + "description": "watch changes to an object of kind APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "watchApiregistrationV1APIService", + "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": "apiregistration.k8s.io", + "kind": "APIService", + "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": "name of the APIService", + "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/apiregistration.k8s.io/v1beta1/": { "get": { "description": "get available resources", @@ -21960,7 +21286,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22110,7 +21436,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22545,7 +21871,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22657,7 +21983,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22827,7 +22153,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -22931,7 +22257,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23035,7 +22361,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23114,7 +22440,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23264,7 +22590,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23620,7 +22946,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23770,7 +23096,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24286,7 +23612,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24436,7 +23762,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25112,7 +24438,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25262,7 +24588,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -25938,7 +25264,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26088,7 +25414,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26789,7 +26115,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26893,7 +26219,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26997,7 +26323,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27101,7 +26427,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27205,7 +26531,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27317,7 +26643,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27437,7 +26763,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27549,7 +26875,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27669,7 +26995,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27781,7 +27107,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27901,7 +27227,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28013,7 +27339,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28133,7 +27459,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28245,7 +27571,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28365,7 +27691,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28469,7 +27795,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28573,7 +27899,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28710,7 +28036,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28814,7 +28140,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28893,7 +28219,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29043,7 +28369,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29399,7 +28725,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29549,7 +28875,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30309,7 +29635,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30459,7 +29785,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31160,7 +30486,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31264,7 +30590,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31368,7 +30694,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31480,7 +30806,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31600,7 +30926,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31712,7 +31038,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31832,7 +31158,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31944,7 +31270,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32064,7 +31390,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32168,7 +31494,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32305,7 +31631,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32409,7 +31735,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32513,7 +31839,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32592,7 +31918,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32742,7 +32068,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33098,7 +32424,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33248,7 +32574,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33764,7 +33090,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33914,7 +33240,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34590,7 +33916,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34740,7 +34066,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35416,7 +34742,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35566,7 +34892,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36267,7 +35593,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36371,7 +35697,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36475,7 +35801,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36579,7 +35905,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36683,7 +36009,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36795,7 +36121,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -36915,7 +36241,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37027,7 +36353,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37147,7 +36473,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37259,7 +36585,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37379,7 +36705,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37491,7 +36817,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37611,7 +36937,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37723,7 +37049,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37843,7 +37169,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37947,7 +37273,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38051,7 +37377,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39115,7 +38441,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39194,7 +38520,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39344,7 +38670,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39885,7 +39211,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39997,7 +39323,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40117,7 +39443,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40254,7 +39580,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40333,7 +39659,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40483,7 +39809,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41024,7 +40350,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41136,7 +40462,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41256,7 +40582,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41426,7 +40752,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41505,7 +40831,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41655,7 +40981,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42196,7 +41522,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42308,7 +41634,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42428,7 +41754,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42565,7 +41891,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42644,7 +41970,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42794,7 +42120,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43335,7 +42661,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43447,7 +42773,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43567,7 +42893,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43704,7 +43030,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43783,7 +43109,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43933,7 +43259,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44474,7 +43800,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44586,7 +43912,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44706,7 +44032,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44851,7 +44177,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45001,7 +44327,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45506,7 +44832,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45618,7 +44944,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45788,7 +45114,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45867,7 +45193,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46017,7 +45343,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46398,7 +45724,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46510,7 +45836,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46630,7 +45956,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46800,7 +46126,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46904,7 +46230,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47008,7 +46334,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47087,7 +46413,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47237,7 +46563,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47753,7 +47079,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47903,7 +47229,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48663,7 +47989,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48813,7 +48139,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49329,7 +48655,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49479,7 +48805,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49835,7 +49161,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49985,7 +49311,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50846,7 +50172,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50925,7 +50251,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51075,7 +50401,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51440,7 +50766,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51544,7 +50870,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51648,7 +50974,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51752,7 +51078,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51864,7 +51190,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51984,7 +51310,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52096,7 +51422,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52216,7 +51542,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52328,7 +51654,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52448,7 +51774,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52560,7 +51886,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52680,7 +52006,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52792,7 +52118,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52912,7 +52238,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53016,7 +52342,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53120,7 +52446,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53232,7 +52558,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53336,7 +52662,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53481,7 +52807,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53631,7 +52957,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54012,7 +53338,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54124,7 +53450,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54244,7 +53570,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54348,7 +53674,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54493,7 +53819,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -54643,7 +53969,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55184,7 +54510,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55197,6 +54523,496 @@ } ] }, + "/apis/policy/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": [ + "policy_v1beta1" + ], + "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.", + "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.policy.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "createPolicyV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "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.", + "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": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "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" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replacePolicyV1beta1PodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deletePolicyV1beta1PodSecurityPolicy", + "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": "policy", + "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": [ + "policy_v1beta1" + ], + "operationId": "patchPolicyV1beta1PodSecurityPolicy", + "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.policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "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/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { "get": { "description": "watch individual changes to a list of PodDisruptionBudget", @@ -55296,7 +55112,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55416,7 +55232,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55520,7 +55336,223 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "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.", + "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", + "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.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" }, @@ -55665,7 +55697,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -55815,7 +55847,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56139,7 +56171,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56289,7 +56321,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56613,7 +56645,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -56763,7 +56795,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57103,7 +57135,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57253,7 +57285,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57618,7 +57650,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57722,7 +57754,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57826,7 +57858,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -57938,7 +57970,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58042,7 +58074,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58154,7 +58186,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58266,7 +58298,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58386,7 +58418,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58498,7 +58530,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58618,7 +58650,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58722,7 +58754,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58826,7 +58858,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -58938,7 +58970,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59088,7 +59120,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59412,7 +59444,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59562,7 +59594,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -59886,7 +59918,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60036,7 +60068,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60376,7 +60408,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60526,7 +60558,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60891,7 +60923,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -60995,7 +61027,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61099,7 +61131,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61211,7 +61243,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61315,7 +61347,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61427,7 +61459,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61539,7 +61571,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61659,7 +61691,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61771,7 +61803,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61891,7 +61923,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -61995,7 +62027,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62099,7 +62131,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62211,7 +62243,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62361,7 +62393,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62685,7 +62717,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -62835,7 +62867,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -63159,7 +63191,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -63309,7 +63341,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -63649,7 +63681,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -63799,7 +63831,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64164,7 +64196,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64268,7 +64300,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64372,7 +64404,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64484,7 +64516,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64588,7 +64620,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64700,7 +64732,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64812,7 +64844,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -64932,7 +64964,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65044,7 +65076,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65164,7 +65196,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65268,7 +65300,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65372,7 +65404,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65517,7 +65549,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -65667,7 +65699,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66032,7 +66064,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66144,7 +66176,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66289,7 +66321,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66439,7 +66471,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66820,7 +66852,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -66932,7 +66964,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67052,7 +67084,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67156,7 +67188,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67301,7 +67333,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67451,7 +67483,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67816,7 +67848,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -67928,7 +67960,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68040,7 +68072,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68190,7 +68222,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68555,7 +68587,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68667,7 +68699,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68779,7 +68811,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -68929,7 +68961,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -69203,6 +69235,496 @@ } ] }, + "/apis/storage.k8s.io/v1beta1/volumeattachments": { + "get": { + "description": "list or watch objects of kind VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "listStorageV1beta1VolumeAttachment", + "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.storage.v1beta1.VolumeAttachmentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "post": { + "description": "create a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "createStorageV1beta1VolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete collection of VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteStorageV1beta1CollectionVolumeAttachment", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}": { + "get": { + "description": "read the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "readStorageV1beta1VolumeAttachment", + "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.storage.v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "replaceStorageV1beta1VolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "delete": { + "description": "delete a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "deleteStorageV1beta1VolumeAttachment", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "patch": { + "description": "partially update the specified VolumeAttachment", + "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": [ + "storage_v1beta1" + ], + "operationId": "patchStorageV1beta1VolumeAttachment", + "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.storage.v1beta1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "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" + } + ] + }, "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "get": { "description": "watch individual changes to a list of StorageClass", @@ -69294,7 +69816,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -69406,7 +69928,223 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "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/storage.k8s.io/v1beta1/watch/volumeattachments": { + "get": { + "description": "watch individual changes to a list of VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "watchStorageV1beta1VolumeAttachmentList", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "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/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { + "get": { + "description": "watch changes to an object of kind VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1beta1" + ], + "operationId": "watchStorageV1beta1VolumeAttachment", + "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": "storage.k8s.io", + "kind": "VolumeAttachment", + "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 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" }, @@ -69812,11 +70550,11 @@ "type": "string" }, "namespaceSelector": { - "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is other cluster scoped resource, it is not subjected to the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" }, "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.", + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", "type": "array", "items": { "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.RuleWithOperations" @@ -70501,7 +71239,7 @@ "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 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.", "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString" }, "maxUnavailable": { @@ -73416,6 +74154,55 @@ } } }, + "io.k8s.api.autoscaling.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.", + "required": [ + "metricName" + ], + "properties": { + "metricName": { + "description": "metricName is the name of the metric in question.", + "type": "string" + }, + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "targetAverageValue": { + "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "targetValue": { + "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + } + } + }, + "io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metricName", + "currentValue" + ], + "properties": { + "currentAverageValue": { + "description": "currentAverageValue is the current value of metric averaged over autoscaled pods.", + "$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" + }, + "metricName": { + "description": "metricName is the name of a metric used for autoscaling in metric system.", + "type": "string" + }, + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + } + } + }, "io.k8s.api.autoscaling.v2beta1.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": { @@ -73591,6 +74378,10 @@ "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.v2beta1.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.v2beta1.ObjectMetricSource" @@ -73604,7 +74395,7 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricSource" }, "type": { - "description": "type is the type of metric source. It should match one of the fields below.", + "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" } } @@ -73615,6 +74406,10 @@ "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.v2beta1.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.v2beta1.ObjectMetricStatus" @@ -73628,7 +74423,7 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.ResourceMetricStatus" }, "type": { - "description": "type is the type of metric source. It will match one of the fields below.", + "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" } } @@ -74516,20 +75311,43 @@ ] }, "io.k8s.api.core.v1.CSIPersistentVolumeSource": { - "description": "Represents storage that is managed by an external CSI volume driver", + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", "required": [ "driver", "volumeHandle" ], "properties": { + "controllerPublishSecretRef": { + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, "driver": { "description": "Driver is the name of the driver to use for this volume. Required.", "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.", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, + "nodeStageSecretRef": { + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + }, "readOnly": { "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", "type": "boolean" }, + "volumeAttributes": { + "description": "Attributes of the volume to publish.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "volumeHandle": { "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.", "type": "string" @@ -74754,8 +75572,16 @@ "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" }, + "binaryData": { + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, "data": { - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", "type": "object", "additionalProperties": { "type": "string" @@ -75018,7 +75844,7 @@ ], "properties": { "names": { - "description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", + "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", "type": "array", "items": { "type": "string" @@ -75336,9 +76162,6 @@ }, "io.k8s.api.core.v1.Endpoints": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "required": [ - "subsets" - ], "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", @@ -75410,7 +76233,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapEnvSource" }, "prefix": { - "description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, "secretRef": { @@ -75580,7 +76403,7 @@ ] }, "io.k8s.api.core.v1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continously for some time.", + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { "count": { "description": "Number of occurrences in this series up to the last heartbeat time", @@ -75588,7 +76411,7 @@ "format": "int32" }, "lastObservedTime": { - "description": "Time of the last occurence observed", + "description": "Time of the last occurrence observed", "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime" }, "state": { @@ -75654,6 +76477,37 @@ } } }, + "io.k8s.api.core.v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + } + } + }, "io.k8s.api.core.v1.FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "required": [ @@ -76998,7 +77852,7 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" }, "csi": { - "description": "CSI represents storage that handled by an external CSI driver", + "description": "CSI represents storage that handled by an external CSI driver (Beta feature).", "$ref": "#/definitions/io.k8s.api.core.v1.CSIPersistentVolumeSource" }, "fc": { @@ -77007,7 +77861,7 @@ }, "flexVolume": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", - "$ref": "#/definitions/io.k8s.api.core.v1.FlexVolumeSource" + "$ref": "#/definitions/io.k8s.api.core.v1.FlexPersistentVolumeSource" }, "flocker": { "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", @@ -77044,8 +77898,12 @@ "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "$ref": "#/definitions/io.k8s.api.core.v1.NFSVolumeSource" }, + "nodeAffinity": { + "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeNodeAffinity" + }, "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", "type": "string" }, "photonPersistentDisk": { @@ -77325,6 +78183,11 @@ "type": "integer", "format": "int64" }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "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 SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" @@ -77377,11 +78240,11 @@ "x-kubernetes-patch-strategy": "merge" }, "dnsConfig": { - "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. This is an alpha feature introduced in v1.9 and CustomPodDNS feature gate must be enabled to use it.", + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig" }, "dnsPolicy": { - "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. Note that 'None' policy is an alpha feature introduced in v1.9 and CustomPodDNS feature gate must be enabled to use it.", + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, "hostAliases": { @@ -77444,7 +78307,7 @@ "format": "int32" }, "priorityClassName": { - "description": "If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates 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.", + "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" }, "restartPolicy": { @@ -77467,6 +78330,10 @@ "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", "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.", + "type": "boolean" + }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", "type": "string" @@ -77528,6 +78395,10 @@ "description": "A human readable message indicating details about why the pod is in this condition.", "type": "string" }, + "nominatedNodeName": { + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", + "type": "string" + }, "phase": { "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" @@ -77537,7 +78408,7 @@ "type": "string" }, "qosClass": { - "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md", + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", "type": "string" }, "reason": { @@ -78456,6 +79327,11 @@ "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" @@ -79001,7 +79877,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 alpha in 1.8 and can be reworked or removed in a future release.", + "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.", "type": "string" }, "name": { @@ -79018,6 +79894,15 @@ } } }, + "io.k8s.api.core.v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "properties": { + "required": { + "description": "Required specifies hard node constraints that must be met.", + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector" + } + } + }, "io.k8s.api.core.v1.VolumeProjection": { "description": "Projection that may be projected along with other supported volume types", "properties": { @@ -79195,7 +80080,7 @@ ] }, "io.k8s.api.events.v1beta1.EventSeries": { - "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continously for some time.", + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "required": [ "count", "lastObservedTime", @@ -80761,6 +81646,27 @@ } } }, + "io.k8s.api.policy.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", + "required": [ + "driver" + ], + "properties": { + "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.", + "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`", + "type": "string" + } + } + }, "io.k8s.api.policy.v1beta1.Eviction": { "description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods//evictions.", "properties": { @@ -80789,6 +81695,60 @@ } ] }, + "io.k8s.api.policy.v1beta1.FSGroupStrategyOptions": { + "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.", + "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.", + "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.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.api.policy.v1beta1.IDRange": { + "description": "ID Range provides a min/max of an allowed range of IDs.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "Max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" + }, + "min": { + "description": "Min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" + } + } + }, "io.k8s.api.policy.v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -80913,6 +81873,223 @@ } } }, + "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.", + "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'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" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.policy.v1beta1.PodSecurityPolicyList": { + "description": "Pod Security Policy List is a list of PodSecurityPolicy 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.policy.v1beta1.PodSecurityPolicy" + } + }, + "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": "policy", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.policy.v1beta1.PodSecurityPolicySpec": { + "description": "Pod Security Policy Spec defines the policy enforced.", + "required": [ + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" + ], + "properties": { + "allowPrivilegeEscalation": { + "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.", + "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.", + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.AllowedHostPath" + } + }, + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAllowPrivilegeEscalation": { + "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "fsGroup": { + "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": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.HostPortRange" + } + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "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.", + "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.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions" + }, + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$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.", + "$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.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "io.k8s.api.policy.v1beta1.RunAsUserStrategyOptions": { + "description": "Run A sUser Strategy Options 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.", + "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.", + "type": "string" + } + } + }, + "io.k8s.api.policy.v1beta1.SELinuxStrategyOptions": { + "description": "SELinux Strategy Options 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.", + "type": "string" + }, + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SELinuxOptions" + } + } + }, + "io.k8s.api.policy.v1beta1.SupplementalGroupsStrategyOptions": { + "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.", + "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.", + "type": "string" + } + } + }, "io.k8s.api.rbac.v1.AggregationRule": { "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { @@ -82092,7 +83269,7 @@ "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.", + "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": { @@ -82100,7 +83277,7 @@ "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#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": { @@ -82139,7 +83316,7 @@ "type": "string" }, "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#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" } }, @@ -82570,6 +83747,146 @@ } ] }, + "io.k8s.api.storage.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/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/io.k8s.api.storage.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/io.k8s.api.storage.v1beta1.VolumeAttachmentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.storage.v1beta1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment 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 VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, + "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": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1beta1" + } + ] + }, + "io.k8s.api.storage.v1beta1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, + "io.k8s.api.storage.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/io.k8s.api.storage.v1beta1.VolumeAttachmentSource" + } + } + }, + "io.k8s.api.storage.v1beta1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeError" + } + } + }, + "io.k8s.api.storage.v1beta1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "properties": { + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + } + }, "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>.", "properties": { @@ -82656,6 +83973,13 @@ "kind" ], "properties": { + "categories": { + "description": "Categories is a list of grouped resources custom resources belong to (e.g. 'all')", + "type": "array", + "items": { + "type": "string" + } + }, "kind": { "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", "type": "string" @@ -82702,6 +84026,10 @@ "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", "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.", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources" + }, "validation": { "description": "Validation describes the validation methods for CustomResources", "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation" @@ -82732,6 +84060,43 @@ } } }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", + "required": [ + "specReplicasPath", + "statusReplicasPath" + ], + "properties": { + "labelSelectorPath": { + "description": "LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string.", + "type": "string" + }, + "specReplicasPath": { + "description": "SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET.", + "type": "string" + }, + "statusReplicasPath": { + "description": "StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.", + "type": "string" + } + } + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus": { + "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza" + }, + "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "properties": { + "scale": { + "description": "Scale denotes the scale subresource for CustomResources", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceScale" + }, + "status": { + "description": "Status denotes the status subresource for CustomResources", + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresourceStatus" + } + } + }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceValidation": { "description": "CustomResourceValidation is a list of validation methods for CustomResources.", "properties": { @@ -83949,6 +85314,152 @@ } } }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", + "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/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec contains information for locating and communicating with a server", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceSpec" + }, + "status": { + "description": "Status contains derived information about an API server", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList": { + "description": "APIServiceList is a list of APIService 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": { + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService" + } + }, + "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/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + } + }, + "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" + ], + "properties": { + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "type": "string", + "format": "byte" + }, + "group": { + "description": "Group is the API group name this server hosts", + "type": "string" + }, + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number 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) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "type": "integer", + "format": "int32" + }, + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" + }, + "service": { + "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference" + }, + "version": { + "description": "Version is the API version this server hosts. For example, \"v1\"", + "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.", + "type": "integer", + "format": "int32" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", + "properties": { + "conditions": { + "description": "Current service state of apiService.", + "type": "array", + "items": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, + "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + } + } + }, "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": {