com.pulumi.azure.compute.inputs.OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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 OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs extends com.pulumi.resources.ResourceArgs {
public static final OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs Empty = new OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs();
/**
* 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 OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs() {}
private OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs(OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs $) {
this.store = $.store;
this.url = $.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs $;
public Builder() {
$ = new OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs();
}
public Builder(OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs defaults) {
$ = new OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs(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 OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs build() {
if ($.store == null) {
throw new MissingRequiredPropertyException("OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs", "store");
}
if ($.url == null) {
throw new MissingRequiredPropertyException("OrchestratedVirtualMachineScaleSetOsProfileWindowsConfigurationSecretCertificateArgs", "url");
}
return $;
}
}
}