com.pulumi.azure.batch.CertificateArgs 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.batch;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class CertificateArgs extends com.pulumi.resources.ResourceArgs {
public static final CertificateArgs Empty = new CertificateArgs();
/**
* Specifies the name of the Batch account. Changing this forces a new resource to be created.
*
*/
@Import(name="accountName", required=true)
private Output accountName;
/**
* @return Specifies the name of the Batch account. Changing this forces a new resource to be created.
*
*/
public Output accountName() {
return this.accountName;
}
/**
* The base64-encoded contents of the certificate.
*
*/
@Import(name="certificate", required=true)
private Output certificate;
/**
* @return The base64-encoded contents of the certificate.
*
*/
public Output certificate() {
return this.certificate;
}
/**
* The format of the certificate. Possible values are `Cer` or `Pfx`.
*
*/
@Import(name="format", required=true)
private Output format;
/**
* @return The format of the certificate. Possible values are `Cer` or `Pfx`.
*
*/
public Output format() {
return this.format;
}
/**
* The password to access the certificate's private key. This can only be specified when `format` is `Pfx`.
*
*/
@Import(name="password")
private @Nullable Output password;
/**
* @return The password to access the certificate's private key. This can only be specified when `format` is `Pfx`.
*
*/
public Optional