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

com.pulumi.azure.compute.inputs.WindowsVirtualMachineSecretCertificateArgs 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.compute.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;


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

    public static final WindowsVirtualMachineSecretCertificateArgs Empty = new WindowsVirtualMachineSecretCertificateArgs();

    /**
     * The certificate store on the Virtual Machine where the certificate should be added.
     * 
     */
    @Import(name="store", required=true)
    private Output store;

    /**
     * @return The certificate store on the Virtual Machine where the certificate should be added.
     * 
     */
    public Output store() {
        return this.store;
    }

    /**
     * The Secret URL of a Key Vault Certificate.
     * 
     * > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
     * 
     */
    @Import(name="url", required=true)
    private Output url;

    /**
     * @return The Secret URL of a Key Vault Certificate.
     * 
     * > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
     * 
     */
    public Output url() {
        return this.url;
    }

    private WindowsVirtualMachineSecretCertificateArgs() {}

    private WindowsVirtualMachineSecretCertificateArgs(WindowsVirtualMachineSecretCertificateArgs $) {
        this.store = $.store;
        this.url = $.url;
    }

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

    public static final class Builder {
        private WindowsVirtualMachineSecretCertificateArgs $;

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

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

        /**
         * @param store The certificate store on the Virtual Machine where the certificate should be added.
         * 
         * @return builder
         * 
         */
        public Builder store(Output store) {
            $.store = store;
            return this;
        }

        /**
         * @param store The certificate store on the Virtual Machine where the certificate should be added.
         * 
         * @return builder
         * 
         */
        public Builder store(String store) {
            return store(Output.of(store));
        }

        /**
         * @param url The Secret URL of a Key Vault Certificate.
         * 
         * > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
         * 
         * @return builder
         * 
         */
        public Builder url(Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The Secret URL of a Key Vault Certificate.
         * 
         * > **NOTE:** This can be sourced from the `secret_id` field within the `azure.keyvault.Certificate` Resource.
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public WindowsVirtualMachineSecretCertificateArgs build() {
            if ($.store == null) {
                throw new MissingRequiredPropertyException("WindowsVirtualMachineSecretCertificateArgs", "store");
            }
            if ($.url == null) {
                throw new MissingRequiredPropertyException("WindowsVirtualMachineSecretCertificateArgs", "url");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy