Class CertificateOrder
Manages an App Service Certificate Order.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleCertificateOrder = new Azure.AppService.CertificateOrder("exampleCertificateOrder", new Azure.AppService.CertificateOrderArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = "global",
DistinguishedName = "CN=example.com",
ProductType = "Standard",
});
}
}
Inherited Members
Namespace: Pulumi.Azure.AppService
Assembly: Pulumi.Azure.dll
Syntax
public class CertificateOrder : CustomResource
Constructors
View SourceCertificateOrder(String, CertificateOrderArgs, CustomResourceOptions)
Create a CertificateOrder resource with the given unique name, arguments, and options.
Declaration
public CertificateOrder(string name, CertificateOrderArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| CertificateOrderArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppServiceCertificateNotRenewableReasons
Reasons why App Service Certificate is not renewable at the current moment.
Declaration
public Output<ImmutableArray<string>> AppServiceCertificateNotRenewableReasons { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
AutoRenew
true if the certificate should be automatically renewed when it expires; otherwise, false. Defaults to true.
Declaration
public Output<bool?> AutoRenew { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Certificates
State of the Key Vault secret. A certificates block as defined below.
Declaration
public Output<ImmutableArray<CertificateOrderCertificate>> Certificates { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<CertificateOrderCertificate>> |
Csr
Last CSR that was created for this order.
Declaration
public Output<string> Csr { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DistinguishedName
The Distinguished Name for the App Service Certificate Order.
Declaration
public Output<string> DistinguishedName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DomainVerificationToken
Domain verification token.
Declaration
public Output<string> DomainVerificationToken { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ExpirationTime
Certificate expiration time.
Declaration
public Output<string> ExpirationTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IntermediateThumbprint
Certificate thumbprint intermediate certificate.
Declaration
public Output<string> IntermediateThumbprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
IsPrivateKeyExternal
Whether the private key is external or not.
Declaration
public Output<bool> IsPrivateKeyExternal { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
KeySize
Certificate key size. Defaults to 2048.
Declaration
public Output<int?> KeySize { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Location
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.
Declaration
public Output<string> Location { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the certificate. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProductType
Certificate product type, such as Standard or WildCard.
Declaration
public Output<string> ProductType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the certificate. Changing this forces a new resource to be created.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RootThumbprint
Certificate thumbprint for root certificate.
Declaration
public Output<string> RootThumbprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SignedCertificateThumbprint
Certificate thumbprint for signed certificate.
Declaration
public Output<string> SignedCertificateThumbprint { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
Current order status.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
ValidityInYears
Duration in years (must be between 1 and 3). Defaults to 1.
Declaration
public Output<int?> ValidityInYears { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Methods
View SourceGet(String, Input<String>, CertificateOrderState, CustomResourceOptions)
Get an existing CertificateOrder resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static CertificateOrder Get(string name, Input<string> id, CertificateOrderState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CertificateOrderState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| CertificateOrder |