Certificate Constructors

Definition

Overloads

Certificate()

Initializes a new instance of the Certificate class.

Certificate(String, String, String, String, String, IDictionary<String, String>, String, String, String, IList<String>, Byte[], String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Byte[], String, HostingEnvironmentProfile, String, String, Nullable<KeyVaultSecretStatus>, String, String, String)

Initializes a new instance of the Certificate class.

Certificate()

Initializes a new instance of the Certificate class.

public Certificate ();
Public Sub New ()

Applies to

Certificate(String, String, String, String, String, IDictionary<String, String>, String, String, String, IList<String>, Byte[], String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Byte[], String, HostingEnvironmentProfile, String, String, Nullable<KeyVaultSecretStatus>, String, String, String)

Initializes a new instance of the Certificate class.

public Certificate (string location, string id = default, string name = default, string kind = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string password = default, string friendlyName = default, string subjectName = default, System.Collections.Generic.IList<string> hostNames = default, byte[] pfxBlob = default, string siteName = default, string selfLink = default, string issuer = default, DateTime? issueDate = default, DateTime? expirationDate = default, string thumbprint = default, bool? valid = default, byte[] cerBlob = default, string publicKeyHash = default, Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, string keyVaultId = default, string keyVaultSecretName = default, Microsoft.Azure.Management.WebSites.Models.KeyVaultSecretStatus? keyVaultSecretStatus = default, string serverFarmId = default, string canonicalName = default, string domainValidationMethod = default);
new Microsoft.Azure.Management.WebSites.Models.Certificate : string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * System.Collections.Generic.IList<string> * byte[] * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<bool> * byte[] * string * Microsoft.Azure.Management.WebSites.Models.HostingEnvironmentProfile * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.KeyVaultSecretStatus> * string * string * string -> Microsoft.Azure.Management.WebSites.Models.Certificate
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional password As String = Nothing, Optional friendlyName As String = Nothing, Optional subjectName As String = Nothing, Optional hostNames As IList(Of String) = Nothing, Optional pfxBlob As Byte() = Nothing, Optional siteName As String = Nothing, Optional selfLink As String = Nothing, Optional issuer As String = Nothing, Optional issueDate As Nullable(Of DateTime) = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional thumbprint As String = Nothing, Optional valid As Nullable(Of Boolean) = Nothing, Optional cerBlob As Byte() = Nothing, Optional publicKeyHash As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional keyVaultId As String = Nothing, Optional keyVaultSecretName As String = Nothing, Optional keyVaultSecretStatus As Nullable(Of KeyVaultSecretStatus) = Nothing, Optional serverFarmId As String = Nothing, Optional canonicalName As String = Nothing, Optional domainValidationMethod As String = Nothing)

Parameters

location
String

Resource Location.

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

password
String

Certificate password.

friendlyName
String

Friendly name of the certificate.

subjectName
String

Subject name of the certificate.

hostNames
IList<String>

Host names the certificate applies to.

pfxBlob
Byte[]

Pfx blob.

siteName
String

App name.

selfLink
String

Self link.

issuer
String

Certificate issuer.

issueDate
Nullable<DateTime>

Certificate issue Date.

expirationDate
Nullable<DateTime>

Certificate expiration date.

thumbprint
String

Certificate thumbprint.

valid
Nullable<Boolean>

Is the certificate valid?.

cerBlob
Byte[]

Raw bytes of .cer file

publicKeyHash
String

Public key hash.

hostingEnvironmentProfile
HostingEnvironmentProfile

Specification for the App Service Environment to use for the certificate.

keyVaultId
String

Key Vault Csm resource Id.

keyVaultSecretName
String

Key Vault secret name.

keyVaultSecretStatus
Nullable<KeyVaultSecretStatus>

Status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'

serverFarmId
String

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

canonicalName
String

CNAME of the certificate to be issued via free certificate

domainValidationMethod
String

Method of domain validation for free cert

Applies to