com.pulumi.azure.compute.inputs.LinuxVirtualMachineSecretCertificateArgs 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.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 LinuxVirtualMachineSecretCertificateArgs extends com.pulumi.resources.ResourceArgs {
public static final LinuxVirtualMachineSecretCertificateArgs Empty = new LinuxVirtualMachineSecretCertificateArgs();
/**
* 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 LinuxVirtualMachineSecretCertificateArgs() {}
private LinuxVirtualMachineSecretCertificateArgs(LinuxVirtualMachineSecretCertificateArgs $) {
this.url = $.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinuxVirtualMachineSecretCertificateArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LinuxVirtualMachineSecretCertificateArgs $;
public Builder() {
$ = new LinuxVirtualMachineSecretCertificateArgs();
}
public Builder(LinuxVirtualMachineSecretCertificateArgs defaults) {
$ = new LinuxVirtualMachineSecretCertificateArgs(Objects.requireNonNull(defaults));
}
/**
* @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 LinuxVirtualMachineSecretCertificateArgs build() {
if ($.url == null) {
throw new MissingRequiredPropertyException("LinuxVirtualMachineSecretCertificateArgs", "url");
}
return $;
}
}
}