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

com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs 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.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretCertificateArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs Empty = new OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs();

    /**
     * One or more `certificate` blocks as defined below.
     * 
     */
    @Import(name="certificates", required=true)
    private Output> certificates;

    /**
     * @return One or more `certificate` blocks as defined below.
     * 
     */
    public Output> certificates() {
        return this.certificates;
    }

    /**
     * The ID of the Key Vault from which all Secrets should be sourced.
     * 
     */
    @Import(name="keyVaultId", required=true)
    private Output keyVaultId;

    /**
     * @return The ID of the Key Vault from which all Secrets should be sourced.
     * 
     */
    public Output keyVaultId() {
        return this.keyVaultId;
    }

    private OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs() {}

    private OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs(OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs $) {
        this.certificates = $.certificates;
        this.keyVaultId = $.keyVaultId;
    }

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

    public static final class Builder {
        private OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs $;

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

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

        /**
         * @param certificates One or more `certificate` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder certificates(Output> certificates) {
            $.certificates = certificates;
            return this;
        }

        /**
         * @param certificates One or more `certificate` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder certificates(List certificates) {
            return certificates(Output.of(certificates));
        }

        /**
         * @param certificates One or more `certificate` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder certificates(OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretCertificateArgs... certificates) {
            return certificates(List.of(certificates));
        }

        /**
         * @param keyVaultId The ID of the Key Vault from which all Secrets should be sourced.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultId(Output keyVaultId) {
            $.keyVaultId = keyVaultId;
            return this;
        }

        /**
         * @param keyVaultId The ID of the Key Vault from which all Secrets should be sourced.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultId(String keyVaultId) {
            return keyVaultId(Output.of(keyVaultId));
        }

        public OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs build() {
            if ($.certificates == null) {
                throw new MissingRequiredPropertyException("OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs", "certificates");
            }
            if ($.keyVaultId == null) {
                throw new MissingRequiredPropertyException("OrchestratedVirtualMachineScaleSetOsProfileLinuxConfigurationSecretArgs", "keyVaultId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy