Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
CertificateOrder
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.AppService
Assembly: Pulumi.Azure.dll
Syntax
public class CertificateOrder : CustomResource

Constructors

View Source

CertificateOrder(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 Source

AppServiceCertificateNotRenewableReasons

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>>
View Source

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>>
View Source

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>>
View Source

Csr

Last CSR that was created for this order.

Declaration
public Output<string> Csr { get; }
Property Value
Type Description
Output<System.String>
View Source

DistinguishedName

The Distinguished Name for the App Service Certificate Order.

Declaration
public Output<string> DistinguishedName { get; }
Property Value
Type Description
Output<System.String>
View Source

DomainVerificationToken

Domain verification token.

Declaration
public Output<string> DomainVerificationToken { get; }
Property Value
Type Description
Output<System.String>
View Source

ExpirationTime

Certificate expiration time.

Declaration
public Output<string> ExpirationTime { get; }
Property Value
Type Description
Output<System.String>
View Source

IntermediateThumbprint

Certificate thumbprint intermediate certificate.

Declaration
public Output<string> IntermediateThumbprint { get; }
Property Value
Type Description
Output<System.String>
View Source

IsPrivateKeyExternal

Whether the private key is external or not.

Declaration
public Output<bool> IsPrivateKeyExternal { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

KeySize

Certificate key size. Defaults to 2048.

Declaration
public Output<int?> KeySize { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

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>
View Source

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>
View Source

ProductType

Certificate product type, such as Standard or WildCard.

Declaration
public Output<string> ProductType { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

RootThumbprint

Certificate thumbprint for root certificate.

Declaration
public Output<string> RootThumbprint { get; }
Property Value
Type Description
Output<System.String>
View Source

SignedCertificateThumbprint

Certificate thumbprint for signed certificate.

Declaration
public Output<string> SignedCertificateThumbprint { get; }
Property Value
Type Description
Output<System.String>
View Source

Status

Current order status.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.