We recommend using Azure Native.
azure.appservice.CertificateOrder
Explore with Pulumi AI
Manages an App Service Certificate Order.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleCertificateOrder = new azure.appservice.CertificateOrder("example", {
name: "example-cert-order",
resourceGroupName: example.name,
location: "global",
distinguishedName: "CN=example.com",
productType: "Standard",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_certificate_order = azure.appservice.CertificateOrder("example",
name="example-cert-order",
resource_group_name=example.name,
location="global",
distinguished_name="CN=example.com",
product_type="Standard")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appservice"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = appservice.NewCertificateOrder(ctx, "example", &appservice.CertificateOrderArgs{
Name: pulumi.String("example-cert-order"),
ResourceGroupName: example.Name,
Location: pulumi.String("global"),
DistinguishedName: pulumi.String("CN=example.com"),
ProductType: pulumi.String("Standard"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleCertificateOrder = new Azure.AppService.CertificateOrder("example", new()
{
Name = "example-cert-order",
ResourceGroupName = example.Name,
Location = "global",
DistinguishedName = "CN=example.com",
ProductType = "Standard",
});
});
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleCertificateOrder = new CertificateOrder("exampleCertificateOrder", CertificateOrderArgs.builder()
.name("example-cert-order")
.resourceGroupName(example.name())
.location("global")
.distinguishedName("CN=example.com")
.productType("Standard")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleCertificateOrder:
type: azure:appservice:CertificateOrder
name: example
properties:
name: example-cert-order
resourceGroupName: ${example.name}
location: global
distinguishedName: CN=example.com
productType: Standard
Create CertificateOrder Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateOrder(name: string, args: CertificateOrderArgs, opts?: CustomResourceOptions);
@overload
def CertificateOrder(resource_name: str,
args: CertificateOrderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificateOrder(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
auto_renew: Optional[bool] = None,
csr: Optional[str] = None,
distinguished_name: Optional[str] = None,
key_size: Optional[int] = None,
location: Optional[str] = None,
name: Optional[str] = None,
product_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
validity_in_years: Optional[int] = None)
func NewCertificateOrder(ctx *Context, name string, args CertificateOrderArgs, opts ...ResourceOption) (*CertificateOrder, error)
public CertificateOrder(string name, CertificateOrderArgs args, CustomResourceOptions? opts = null)
public CertificateOrder(String name, CertificateOrderArgs args)
public CertificateOrder(String name, CertificateOrderArgs args, CustomResourceOptions options)
type: azure:appservice:CertificateOrder
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CertificateOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CertificateOrderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CertificateOrderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateOrderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateOrderArgs
- 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 certificateOrderResource = new Azure.AppService.CertificateOrder("certificateOrderResource", new()
{
ResourceGroupName = "string",
AutoRenew = false,
Csr = "string",
DistinguishedName = "string",
KeySize = 0,
Location = "string",
Name = "string",
ProductType = "string",
Tags =
{
{ "string", "string" },
},
ValidityInYears = 0,
});
example, err := appservice.NewCertificateOrder(ctx, "certificateOrderResource", &appservice.CertificateOrderArgs{
ResourceGroupName: pulumi.String("string"),
AutoRenew: pulumi.Bool(false),
Csr: pulumi.String("string"),
DistinguishedName: pulumi.String("string"),
KeySize: pulumi.Int(0),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
ProductType: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValidityInYears: pulumi.Int(0),
})
var certificateOrderResource = new CertificateOrder("certificateOrderResource", CertificateOrderArgs.builder()
.resourceGroupName("string")
.autoRenew(false)
.csr("string")
.distinguishedName("string")
.keySize(0)
.location("string")
.name("string")
.productType("string")
.tags(Map.of("string", "string"))
.validityInYears(0)
.build());
certificate_order_resource = azure.appservice.CertificateOrder("certificateOrderResource",
resource_group_name="string",
auto_renew=False,
csr="string",
distinguished_name="string",
key_size=0,
location="string",
name="string",
product_type="string",
tags={
"string": "string",
},
validity_in_years=0)
const certificateOrderResource = new azure.appservice.CertificateOrder("certificateOrderResource", {
resourceGroupName: "string",
autoRenew: false,
csr: "string",
distinguishedName: "string",
keySize: 0,
location: "string",
name: "string",
productType: "string",
tags: {
string: "string",
},
validityInYears: 0,
});
type: azure:appservice:CertificateOrder
properties:
autoRenew: false
csr: string
distinguishedName: string
keySize: 0
location: string
name: string
productType: string
resourceGroupName: string
tags:
string: string
validityInYears: 0
CertificateOrder Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CertificateOrder resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - Csr string
- Last CSR that was created for this order.
- Distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- Key
Size int - Certificate key size. Defaults to
2048
. - Location string
- 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
. - Name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- Product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Dictionary<string, string>
- (Optional) A mapping of tags to assign to the resource.
- Validity
In intYears - Duration in years (must be between
1
and3
). Defaults to1
.
- Resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - Csr string
- Last CSR that was created for this order.
- Distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- Key
Size int - Certificate key size. Defaults to
2048
. - Location string
- 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
. - Name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- Product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - map[string]string
- (Optional) A mapping of tags to assign to the resource.
- Validity
In intYears - Duration in years (must be between
1
and3
). Defaults to1
.
- resource
Group StringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - csr String
- Last CSR that was created for this order.
- distinguished
Name String The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- key
Size Integer - Certificate key size. Defaults to
2048
. - location String
- 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
. - name String
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type String - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Map<String,String>
- (Optional) A mapping of tags to assign to the resource.
- validity
In IntegerYears - Duration in years (must be between
1
and3
). Defaults to1
.
- resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- auto
Renew boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - csr string
- Last CSR that was created for this order.
- distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- key
Size number - Certificate key size. Defaults to
2048
. - location string
- 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
. - name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - {[key: string]: string}
- (Optional) A mapping of tags to assign to the resource.
- validity
In numberYears - Duration in years (must be between
1
and3
). Defaults to1
.
- resource_
group_ strname - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- auto_
renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - csr str
- Last CSR that was created for this order.
- distinguished_
name str The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- key_
size int - Certificate key size. Defaults to
2048
. - location str
- 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
. - name str
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product_
type str - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Mapping[str, str]
- (Optional) A mapping of tags to assign to the resource.
- validity_
in_ intyears - Duration in years (must be between
1
and3
). Defaults to1
.
- resource
Group StringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - csr String
- Last CSR that was created for this order.
- distinguished
Name String The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- key
Size Number - Certificate key size. Defaults to
2048
. - location String
- 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
. - name String
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type String - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Map<String>
- (Optional) A mapping of tags to assign to the resource.
- validity
In NumberYears - Duration in years (must be between
1
and3
). Defaults to1
.
Outputs
All input properties are implicitly available as output properties. Additionally, the CertificateOrder resource produces the following output properties:
- App
Service List<string>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Certificates
List<Certificate
Order Certificate> - State of the Key Vault secret. A
certificates
block as defined below. - Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- Is
Private boolKey External - Whether the private key is external or not.
- Root
Thumbprint string - Certificate thumbprint for root certificate.
- Signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- Status string
- Current order status.
- App
Service []stringCertificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Certificates
[]Certificate
Order Certificate - State of the Key Vault secret. A
certificates
block as defined below. - Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- Is
Private boolKey External - Whether the private key is external or not.
- Root
Thumbprint string - Certificate thumbprint for root certificate.
- Signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- Status string
- Current order status.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- certificates
List<Certificate
Order Certificate> - State of the Key Vault secret. A
certificates
block as defined below. - domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- intermediate
Thumbprint String - Certificate thumbprint intermediate certificate.
- is
Private BooleanKey External - Whether the private key is external or not.
- root
Thumbprint String - Certificate thumbprint for root certificate.
- signed
Certificate StringThumbprint - Certificate thumbprint for signed certificate.
- status String
- Current order status.
- app
Service string[]Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- certificates
Certificate
Order Certificate[] - State of the Key Vault secret. A
certificates
block as defined below. - domain
Verification stringToken - Domain verification token.
- expiration
Time string - Certificate expiration time.
- id string
- The provider-assigned unique ID for this managed resource.
- intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- is
Private booleanKey External - Whether the private key is external or not.
- root
Thumbprint string - Certificate thumbprint for root certificate.
- signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- status string
- Current order status.
- app_
service_ Sequence[str]certificate_ not_ renewable_ reasons - Reasons why App Service Certificate is not renewable at the current moment.
- certificates
Sequence[Certificate
Order Certificate] - State of the Key Vault secret. A
certificates
block as defined below. - domain_
verification_ strtoken - Domain verification token.
- expiration_
time str - Certificate expiration time.
- id str
- The provider-assigned unique ID for this managed resource.
- intermediate_
thumbprint str - Certificate thumbprint intermediate certificate.
- is_
private_ boolkey_ external - Whether the private key is external or not.
- root_
thumbprint str - Certificate thumbprint for root certificate.
- signed_
certificate_ strthumbprint - Certificate thumbprint for signed certificate.
- status str
- Current order status.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- certificates List<Property Map>
- State of the Key Vault secret. A
certificates
block as defined below. - domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- id String
- The provider-assigned unique ID for this managed resource.
- intermediate
Thumbprint String - Certificate thumbprint intermediate certificate.
- is
Private BooleanKey External - Whether the private key is external or not.
- root
Thumbprint String - Certificate thumbprint for root certificate.
- signed
Certificate StringThumbprint - Certificate thumbprint for signed certificate.
- status String
- Current order status.
Look up Existing CertificateOrder Resource
Get an existing CertificateOrder resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CertificateOrderState, opts?: CustomResourceOptions): CertificateOrder
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_service_certificate_not_renewable_reasons: Optional[Sequence[str]] = None,
auto_renew: Optional[bool] = None,
certificates: Optional[Sequence[CertificateOrderCertificateArgs]] = None,
csr: Optional[str] = None,
distinguished_name: Optional[str] = None,
domain_verification_token: Optional[str] = None,
expiration_time: Optional[str] = None,
intermediate_thumbprint: Optional[str] = None,
is_private_key_external: Optional[bool] = None,
key_size: Optional[int] = None,
location: Optional[str] = None,
name: Optional[str] = None,
product_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
root_thumbprint: Optional[str] = None,
signed_certificate_thumbprint: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
validity_in_years: Optional[int] = None) -> CertificateOrder
func GetCertificateOrder(ctx *Context, name string, id IDInput, state *CertificateOrderState, opts ...ResourceOption) (*CertificateOrder, error)
public static CertificateOrder Get(string name, Input<string> id, CertificateOrderState? state, CustomResourceOptions? opts = null)
public static CertificateOrder get(String name, Output<String> id, CertificateOrderState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Service List<string>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - Certificates
List<Certificate
Order Certificate> - State of the Key Vault secret. A
certificates
block as defined below. - Csr string
- Last CSR that was created for this order.
- Distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- Is
Private boolKey External - Whether the private key is external or not.
- Key
Size int - Certificate key size. Defaults to
2048
. - Location string
- 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
. - Name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- Product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- Root
Thumbprint string - Certificate thumbprint for root certificate.
- Signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- Status string
- Current order status.
- Dictionary<string, string>
- (Optional) A mapping of tags to assign to the resource.
- Validity
In intYears - Duration in years (must be between
1
and3
). Defaults to1
.
- App
Service []stringCertificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- Auto
Renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - Certificates
[]Certificate
Order Certificate Args - State of the Key Vault secret. A
certificates
block as defined below. - Csr string
- Last CSR that was created for this order.
- Distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- Domain
Verification stringToken - Domain verification token.
- Expiration
Time string - Certificate expiration time.
- Intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- Is
Private boolKey External - Whether the private key is external or not.
- Key
Size int - Certificate key size. Defaults to
2048
. - Location string
- 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
. - Name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- Product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - Resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- Root
Thumbprint string - Certificate thumbprint for root certificate.
- Signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- Status string
- Current order status.
- map[string]string
- (Optional) A mapping of tags to assign to the resource.
- Validity
In intYears - Duration in years (must be between
1
and3
). Defaults to1
.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - certificates
List<Certificate
Order Certificate> - State of the Key Vault secret. A
certificates
block as defined below. - csr String
- Last CSR that was created for this order.
- distinguished
Name String The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- intermediate
Thumbprint String - Certificate thumbprint intermediate certificate.
- is
Private BooleanKey External - Whether the private key is external or not.
- key
Size Integer - Certificate key size. Defaults to
2048
. - location String
- 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
. - name String
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type String - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - resource
Group StringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- root
Thumbprint String - Certificate thumbprint for root certificate.
- signed
Certificate StringThumbprint - Certificate thumbprint for signed certificate.
- status String
- Current order status.
- Map<String,String>
- (Optional) A mapping of tags to assign to the resource.
- validity
In IntegerYears - Duration in years (must be between
1
and3
). Defaults to1
.
- app
Service string[]Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- auto
Renew boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - certificates
Certificate
Order Certificate[] - State of the Key Vault secret. A
certificates
block as defined below. - csr string
- Last CSR that was created for this order.
- distinguished
Name string The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- domain
Verification stringToken - Domain verification token.
- expiration
Time string - Certificate expiration time.
- intermediate
Thumbprint string - Certificate thumbprint intermediate certificate.
- is
Private booleanKey External - Whether the private key is external or not.
- key
Size number - Certificate key size. Defaults to
2048
. - location string
- 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
. - name string
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type string - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - resource
Group stringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- root
Thumbprint string - Certificate thumbprint for root certificate.
- signed
Certificate stringThumbprint - Certificate thumbprint for signed certificate.
- status string
- Current order status.
- {[key: string]: string}
- (Optional) A mapping of tags to assign to the resource.
- validity
In numberYears - Duration in years (must be between
1
and3
). Defaults to1
.
- app_
service_ Sequence[str]certificate_ not_ renewable_ reasons - Reasons why App Service Certificate is not renewable at the current moment.
- auto_
renew bool - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - certificates
Sequence[Certificate
Order Certificate Args] - State of the Key Vault secret. A
certificates
block as defined below. - csr str
- Last CSR that was created for this order.
- distinguished_
name str The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- domain_
verification_ strtoken - Domain verification token.
- expiration_
time str - Certificate expiration time.
- intermediate_
thumbprint str - Certificate thumbprint intermediate certificate.
- is_
private_ boolkey_ external - Whether the private key is external or not.
- key_
size int - Certificate key size. Defaults to
2048
. - location str
- 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
. - name str
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product_
type str - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - resource_
group_ strname - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- root_
thumbprint str - Certificate thumbprint for root certificate.
- signed_
certificate_ strthumbprint - Certificate thumbprint for signed certificate.
- status str
- Current order status.
- Mapping[str, str]
- (Optional) A mapping of tags to assign to the resource.
- validity_
in_ intyears - Duration in years (must be between
1
and3
). Defaults to1
.
- app
Service List<String>Certificate Not Renewable Reasons - Reasons why App Service Certificate is not renewable at the current moment.
- auto
Renew Boolean - true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to
true
. - certificates List<Property Map>
- State of the Key Vault secret. A
certificates
block as defined below. - csr String
- Last CSR that was created for this order.
- distinguished
Name String The Distinguished Name for the App Service Certificate Order.
NOTE: Either
csr
ordistinguished_name
must be set - but not both.- domain
Verification StringToken - Domain verification token.
- expiration
Time String - Certificate expiration time.
- intermediate
Thumbprint String - Certificate thumbprint intermediate certificate.
- is
Private BooleanKey External - Whether the private key is external or not.
- key
Size Number - Certificate key size. Defaults to
2048
. - location String
- 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
. - name String
- Specifies the name of the certificate. Changing this forces a new resource to be created.
- product
Type String - Certificate product type, such as
Standard
orWildCard
. Defaults toStandard
. - resource
Group StringName - The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
- root
Thumbprint String - Certificate thumbprint for root certificate.
- signed
Certificate StringThumbprint - Certificate thumbprint for signed certificate.
- status String
- Current order status.
- Map<String>
- (Optional) A mapping of tags to assign to the resource.
- validity
In NumberYears - Duration in years (must be between
1
and3
). Defaults to1
.
Supporting Types
CertificateOrderCertificate, CertificateOrderCertificateArgs
- Certificate
Name string - The name of the App Service Certificate.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Provisioning
State string - Status of the Key Vault secret.
- Certificate
Name string - The name of the App Service Certificate.
- Key
Vault stringId - Key Vault resource Id.
- Key
Vault stringSecret Name - Key Vault secret name.
- Provisioning
State string - Status of the Key Vault secret.
- certificate
Name String - The name of the App Service Certificate.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- provisioning
State String - Status of the Key Vault secret.
- certificate
Name string - The name of the App Service Certificate.
- key
Vault stringId - Key Vault resource Id.
- key
Vault stringSecret Name - Key Vault secret name.
- provisioning
State string - Status of the Key Vault secret.
- certificate_
name str - The name of the App Service Certificate.
- key_
vault_ strid - Key Vault resource Id.
- key_
vault_ strsecret_ name - Key Vault secret name.
- provisioning_
state str - Status of the Key Vault secret.
- certificate
Name String - The name of the App Service Certificate.
- key
Vault StringId - Key Vault resource Id.
- key
Vault StringSecret Name - Key Vault secret name.
- provisioning
State String - Status of the Key Vault secret.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.