All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.cdn.inputs.EndpointCustomDomainUserManagedHttpsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.cdn.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EndpointCustomDomainUserManagedHttpsArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointCustomDomainUserManagedHttpsArgs Empty = new EndpointCustomDomainUserManagedHttpsArgs();

    /**
     * The ID of the Key Vault Secret that contains the HTTPS certificate.
     * 
     */
    @Import(name="keyVaultSecretId", required=true)
    private Output keyVaultSecretId;

    /**
     * @return The ID of the Key Vault Secret that contains the HTTPS certificate.
     * 
     */
    public Output keyVaultSecretId() {
        return this.keyVaultSecretId;
    }

    /**
     * The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
     * 
     */
    @Import(name="tlsVersion")
    private @Nullable Output tlsVersion;

    /**
     * @return The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
     * 
     */
    public Optional> tlsVersion() {
        return Optional.ofNullable(this.tlsVersion);
    }

    private EndpointCustomDomainUserManagedHttpsArgs() {}

    private EndpointCustomDomainUserManagedHttpsArgs(EndpointCustomDomainUserManagedHttpsArgs $) {
        this.keyVaultSecretId = $.keyVaultSecretId;
        this.tlsVersion = $.tlsVersion;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(EndpointCustomDomainUserManagedHttpsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private EndpointCustomDomainUserManagedHttpsArgs $;

        public Builder() {
            $ = new EndpointCustomDomainUserManagedHttpsArgs();
        }

        public Builder(EndpointCustomDomainUserManagedHttpsArgs defaults) {
            $ = new EndpointCustomDomainUserManagedHttpsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param keyVaultSecretId The ID of the Key Vault Secret that contains the HTTPS certificate.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretId(Output keyVaultSecretId) {
            $.keyVaultSecretId = keyVaultSecretId;
            return this;
        }

        /**
         * @param keyVaultSecretId The ID of the Key Vault Secret that contains the HTTPS certificate.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultSecretId(String keyVaultSecretId) {
            return keyVaultSecretId(Output.of(keyVaultSecretId));
        }

        /**
         * @param tlsVersion The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
         * 
         * @return builder
         * 
         */
        public Builder tlsVersion(@Nullable Output tlsVersion) {
            $.tlsVersion = tlsVersion;
            return this;
        }

        /**
         * @param tlsVersion The minimum TLS protocol version that is used for HTTPS. Possible values are `TLS10` (representing TLS 1.0/1.1), `TLS12` (representing TLS 1.2) and `None` (representing no minimums). Defaults to `TLS12`.
         * 
         * @return builder
         * 
         */
        public Builder tlsVersion(String tlsVersion) {
            return tlsVersion(Output.of(tlsVersion));
        }

        public EndpointCustomDomainUserManagedHttpsArgs build() {
            if ($.keyVaultSecretId == null) {
                throw new MissingRequiredPropertyException("EndpointCustomDomainUserManagedHttpsArgs", "keyVaultSecretId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy