Show / Hide Table of Contents

Class Certificate

Manages an App Service certificate.

Inheritance
System.Object
Resource
CustomResource
Certificate
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 Certificate : CustomResource

Constructors

View Source

Certificate(String, CertificateArgs, CustomResourceOptions)

Create a Certificate resource with the given unique name, arguments, and options.

Declaration
public Certificate(string name, CertificateArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

CertificateArgs 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

ExpirationDate

The expiration date for the certificate.

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

FriendlyName

The friendly name of the certificate.

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

HostNames

List of host names the certificate applies to.

Declaration
public Output<ImmutableArray<string>> HostNames { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

IssueDate

The issue date for the certificate.

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

Issuer

The name of the certificate issuer.

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

KeyVaultSecretId

The ID of the Key Vault secret. Changing this forces a new resource to be created.

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

Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

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

Password

The password to access the certificate's private key. Changing this forces a new resource to be created.

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

PfxBlob

The base64-encoded contents of the certificate. Changing this forces a new resource to be created.

Declaration
public Output<string> PfxBlob { 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

SubjectName

The subject name of the certificate.

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

Tags

Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Thumbprint

The thumbprint for the certificate.

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

Methods

View Source

Get(String, Input<String>, CertificateState, CustomResourceOptions)

Get an existing Certificate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Certificate Get(string name, Input<string> id, CertificateState 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.

CertificateState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Certificate
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.