1. Packages
  2. Azure Native v2
  3. API Docs
  4. certificateregistration
  5. AppServiceCertificateOrderCertificate
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.certificateregistration.AppServiceCertificateOrderCertificate

Explore with Pulumi AI

Key Vault container ARM resource for a certificate that is purchased through Azure. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-10-01.

Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01, 2024-04-01.

Example Usage

Create Certificate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var appServiceCertificateOrderCertificate = new AzureNative.CertificateRegistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificate", new()
    {
        CertificateOrderName = "SampleCertificateOrderName",
        KeyVaultId = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
        KeyVaultSecretName = "SampleSecretName1",
        Location = "Global",
        Name = "SampleCertName1",
        ResourceGroupName = "testrg123",
    });

});
Copy
package main

import (
	certificateregistration "github.com/pulumi/pulumi-azure-native-sdk/certificateregistration/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificateregistration.NewAppServiceCertificateOrderCertificate(ctx, "appServiceCertificateOrderCertificate", &certificateregistration.AppServiceCertificateOrderCertificateArgs{
			CertificateOrderName: pulumi.String("SampleCertificateOrderName"),
			KeyVaultId:           pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName"),
			KeyVaultSecretName:   pulumi.String("SampleSecretName1"),
			Location:             pulumi.String("Global"),
			Name:                 pulumi.String("SampleCertName1"),
			ResourceGroupName:    pulumi.String("testrg123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.certificateregistration.AppServiceCertificateOrderCertificate;
import com.pulumi.azurenative.certificateregistration.AppServiceCertificateOrderCertificateArgs;
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 appServiceCertificateOrderCertificate = new AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificate", AppServiceCertificateOrderCertificateArgs.builder()
            .certificateOrderName("SampleCertificateOrderName")
            .keyVaultId("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName")
            .keyVaultSecretName("SampleSecretName1")
            .location("Global")
            .name("SampleCertName1")
            .resourceGroupName("testrg123")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const appServiceCertificateOrderCertificate = new azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificate", {
    certificateOrderName: "SampleCertificateOrderName",
    keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
    keyVaultSecretName: "SampleSecretName1",
    location: "Global",
    name: "SampleCertName1",
    resourceGroupName: "testrg123",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

app_service_certificate_order_certificate = azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificate",
    certificate_order_name="SampleCertificateOrderName",
    key_vault_id="/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
    key_vault_secret_name="SampleSecretName1",
    location="Global",
    name="SampleCertName1",
    resource_group_name="testrg123")
Copy
resources:
  appServiceCertificateOrderCertificate:
    type: azure-native:certificateregistration:AppServiceCertificateOrderCertificate
    properties:
      certificateOrderName: SampleCertificateOrderName
      keyVaultId: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName
      keyVaultSecretName: SampleSecretName1
      location: Global
      name: SampleCertName1
      resourceGroupName: testrg123
Copy

Create AppServiceCertificateOrderCertificate Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AppServiceCertificateOrderCertificate(name: string, args: AppServiceCertificateOrderCertificateArgs, opts?: CustomResourceOptions);
@overload
def AppServiceCertificateOrderCertificate(resource_name: str,
                                          args: AppServiceCertificateOrderCertificateArgs,
                                          opts: Optional[ResourceOptions] = None)

@overload
def AppServiceCertificateOrderCertificate(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          certificate_order_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          key_vault_id: Optional[str] = None,
                                          key_vault_secret_name: Optional[str] = None,
                                          kind: Optional[str] = None,
                                          location: Optional[str] = None,
                                          name: Optional[str] = None,
                                          tags: Optional[Mapping[str, str]] = None)
func NewAppServiceCertificateOrderCertificate(ctx *Context, name string, args AppServiceCertificateOrderCertificateArgs, opts ...ResourceOption) (*AppServiceCertificateOrderCertificate, error)
public AppServiceCertificateOrderCertificate(string name, AppServiceCertificateOrderCertificateArgs args, CustomResourceOptions? opts = null)
public AppServiceCertificateOrderCertificate(String name, AppServiceCertificateOrderCertificateArgs args)
public AppServiceCertificateOrderCertificate(String name, AppServiceCertificateOrderCertificateArgs args, CustomResourceOptions options)
type: azure-native:certificateregistration:AppServiceCertificateOrderCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AppServiceCertificateOrderCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AppServiceCertificateOrderCertificateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AppServiceCertificateOrderCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AppServiceCertificateOrderCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AppServiceCertificateOrderCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var appServiceCertificateOrderCertificateResource = new AzureNative.Certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", new()
{
    CertificateOrderName = "string",
    ResourceGroupName = "string",
    KeyVaultId = "string",
    KeyVaultSecretName = "string",
    Kind = "string",
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := certificateregistration.NewAppServiceCertificateOrderCertificate(ctx, "appServiceCertificateOrderCertificateResource", &certificateregistration.AppServiceCertificateOrderCertificateArgs{
	CertificateOrderName: "string",
	ResourceGroupName:    "string",
	KeyVaultId:           "string",
	KeyVaultSecretName:   "string",
	Kind:                 "string",
	Location:             "string",
	Name:                 "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var appServiceCertificateOrderCertificateResource = new AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", AppServiceCertificateOrderCertificateArgs.builder()
    .certificateOrderName("string")
    .resourceGroupName("string")
    .keyVaultId("string")
    .keyVaultSecretName("string")
    .kind("string")
    .location("string")
    .name("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
app_service_certificate_order_certificate_resource = azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource",
    certificate_order_name=string,
    resource_group_name=string,
    key_vault_id=string,
    key_vault_secret_name=string,
    kind=string,
    location=string,
    name=string,
    tags={
        string: string,
    })
Copy
const appServiceCertificateOrderCertificateResource = new azure_native.certificateregistration.AppServiceCertificateOrderCertificate("appServiceCertificateOrderCertificateResource", {
    certificateOrderName: "string",
    resourceGroupName: "string",
    keyVaultId: "string",
    keyVaultSecretName: "string",
    kind: "string",
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:certificateregistration:AppServiceCertificateOrderCertificate
properties:
    certificateOrderName: string
    keyVaultId: string
    keyVaultSecretName: string
    kind: string
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
Copy

AppServiceCertificateOrderCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AppServiceCertificateOrderCertificate resource accepts the following input properties:

CertificateOrderName
This property is required.
Changes to this property will trigger replacement.
string
Name of the certificate order.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
KeyVaultId string
Key Vault resource Id.
KeyVaultSecretName string
Key Vault secret name.
Kind string
Kind of resource.
Location string
Resource Location.
Name Changes to this property will trigger replacement. string
Name of the certificate.
Tags Dictionary<string, string>
Resource tags.
CertificateOrderName
This property is required.
Changes to this property will trigger replacement.
string
Name of the certificate order.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
KeyVaultId string
Key Vault resource Id.
KeyVaultSecretName string
Key Vault secret name.
Kind string
Kind of resource.
Location string
Resource Location.
Name Changes to this property will trigger replacement. string
Name of the certificate.
Tags map[string]string
Resource tags.
certificateOrderName
This property is required.
Changes to this property will trigger replacement.
String
Name of the certificate order.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
keyVaultId String
Key Vault resource Id.
keyVaultSecretName String
Key Vault secret name.
kind String
Kind of resource.
location String
Resource Location.
name Changes to this property will trigger replacement. String
Name of the certificate.
tags Map<String,String>
Resource tags.
certificateOrderName
This property is required.
Changes to this property will trigger replacement.
string
Name of the certificate order.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
keyVaultId string
Key Vault resource Id.
keyVaultSecretName string
Key Vault secret name.
kind string
Kind of resource.
location string
Resource Location.
name Changes to this property will trigger replacement. string
Name of the certificate.
tags {[key: string]: string}
Resource tags.
certificate_order_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the certificate order.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
key_vault_id str
Key Vault resource Id.
key_vault_secret_name str
Key Vault secret name.
kind str
Kind of resource.
location str
Resource Location.
name Changes to this property will trigger replacement. str
Name of the certificate.
tags Mapping[str, str]
Resource tags.
certificateOrderName
This property is required.
Changes to this property will trigger replacement.
String
Name of the certificate order.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
keyVaultId String
Key Vault resource Id.
keyVaultSecretName String
Key Vault secret name.
kind String
Kind of resource.
location String
Resource Location.
name Changes to this property will trigger replacement. String
Name of the certificate.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the AppServiceCertificateOrderCertificate resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
Status of the Key Vault secret.
Type string
Resource type.
Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
Status of the Key Vault secret.
Type string
Resource type.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
Status of the Key Vault secret.
type String
Resource type.
id string
The provider-assigned unique ID for this managed resource.
provisioningState string
Status of the Key Vault secret.
type string
Resource type.
id str
The provider-assigned unique ID for this managed resource.
provisioning_state str
Status of the Key Vault secret.
type str
Resource type.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
Status of the Key Vault secret.
type String
Resource type.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:certificateregistration:AppServiceCertificateOrderCertificate SampleCertName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0