com.pulumi.azure.compute.outputs.WindowsVirtualMachineSecretCertificate 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class WindowsVirtualMachineSecretCertificate {
/**
* @return The certificate store on the Virtual Machine where the certificate should be added.
*
*/
private String store;
/**
* @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.
*
*/
private String url;
private WindowsVirtualMachineSecretCertificate() {}
/**
* @return The certificate store on the Virtual Machine where the certificate should be added.
*
*/
public String store() {
return this.store;
}
/**
* @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 String url() {
return this.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WindowsVirtualMachineSecretCertificate defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String store;
private String url;
public Builder() {}
public Builder(WindowsVirtualMachineSecretCertificate defaults) {
Objects.requireNonNull(defaults);
this.store = defaults.store;
this.url = defaults.url;
}
@CustomType.Setter
public Builder store(String store) {
if (store == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineSecretCertificate", "store");
}
this.store = store;
return this;
}
@CustomType.Setter
public Builder url(String url) {
if (url == null) {
throw new MissingRequiredPropertyException("WindowsVirtualMachineSecretCertificate", "url");
}
this.url = url;
return this;
}
public WindowsVirtualMachineSecretCertificate build() {
final var _resultValue = new WindowsVirtualMachineSecretCertificate();
_resultValue.store = store;
_resultValue.url = url;
return _resultValue;
}
}
}