CertificateOrderArgs

data class CertificateOrderArgs(val autoRenew: Output<Boolean>? = null, val csr: Output<String>? = null, val distinguishedName: Output<String>? = null, val keySize: Output<Int>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val productType: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val validityInYears: Output<Int>? = null) : ConvertibleToJava<CertificateOrderArgs>

Manages an App Service Certificate Order.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.appservice.CertificateOrder;
import com.pulumi.azure.appservice.CertificateOrderArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleCertificateOrder = new CertificateOrder("exampleCertificateOrder", CertificateOrderArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location("global")
.distinguishedName("CN=example.com")
.productType("Standard")
.build());
}
}

Import

App Service Certificate Orders can be imported using the resource id, e.g.

$ pulumi import azure:appservice/certificateOrder:CertificateOrder example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.CertificateRegistration/certificateOrders/certificateorder1

Constructors

Link copied to clipboard
fun CertificateOrderArgs(autoRenew: Output<Boolean>? = null, csr: Output<String>? = null, distinguishedName: Output<String>? = null, keySize: Output<Int>? = null, location: Output<String>? = null, name: Output<String>? = null, productType: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, validityInYears: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CertificateOrderArgs

Properties

Link copied to clipboard
val autoRenew: Output<Boolean>? = null

true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to true.

Link copied to clipboard
val csr: Output<String>? = null

Last CSR that was created for this order.

Link copied to clipboard
val distinguishedName: Output<String>? = null

The Distinguished Name for the App Service Certificate Order.

Link copied to clipboard
val keySize: Output<Int>? = null

Certificate key size. Defaults to 2048.

Link copied to clipboard
val location: Output<String>? = null

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Currently the only valid value is global.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the certificate. Changing this forces a new resource to be created.

Link copied to clipboard
val productType: Output<String>? = null

Certificate product type, such as Standard or WildCard.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

(Optional) A mapping of tags to assign to the resource.

Link copied to clipboard
val validityInYears: Output<Int>? = null

Duration in years (must be between 1 and 3). Defaults to 1.