
com.pulumi.kubernetes.apiextensions.v1beta1.inputs.CustomResourceConversionPatchArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.apiextensions.v1beta1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.apiextensions.v1beta1.inputs.WebhookClientConfigPatchArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* CustomResourceConversion describes how to convert different versions of a CR.
*
*/
public final class CustomResourceConversionPatchArgs extends com.pulumi.resources.ResourceArgs {
public static final CustomResourceConversionPatchArgs Empty = new CustomResourceConversionPatchArgs();
/**
* conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.
*
*/
@Import(name="conversionReviewVersions")
private @Nullable Output> conversionReviewVersions;
/**
* @return conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail. Defaults to `["v1beta1"]`.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy