Condividi tramite


ArmAppServiceModelFactory.AppCertificatePatch Method

Definition

Initializes a new instance of AppCertificatePatch.

public static Azure.ResourceManager.AppService.Models.AppCertificatePatch AppCertificatePatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string password = default, string friendlyName = default, string subjectName = default, System.Collections.Generic.IEnumerable<string> hostNames = default, byte[] pfxBlob = default, string siteName = default, string selfLink = default, string issuer = default, DateTimeOffset? issueOn = default, DateTimeOffset? expireOn = default, string thumbprintString = default, bool? isValid = default, byte[] cerBlob = default, string publicKeyHash = default, Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, Azure.Core.ResourceIdentifier keyVaultId = default, string keyVaultSecretName = default, Azure.ResourceManager.AppService.Models.KeyVaultSecretStatus? keyVaultSecretStatus = default, Azure.Core.ResourceIdentifier serverFarmId = default, string canonicalName = default, string domainValidationMethod = default, string kind = default);
static member AppCertificatePatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * seq<string> * byte[] * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<bool> * byte[] * string * Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.AppService.Models.KeyVaultSecretStatus> * Azure.Core.ResourceIdentifier * string * string * string -> Azure.ResourceManager.AppService.Models.AppCertificatePatch
Public Shared Function AppCertificatePatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional password As String = Nothing, Optional friendlyName As String = Nothing, Optional subjectName As String = Nothing, Optional hostNames As IEnumerable(Of String) = Nothing, Optional pfxBlob As Byte() = Nothing, Optional siteName As String = Nothing, Optional selfLink As String = Nothing, Optional issuer As String = Nothing, Optional issueOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional thumbprintString As String = Nothing, Optional isValid As Nullable(Of Boolean) = Nothing, Optional cerBlob As Byte() = Nothing, Optional publicKeyHash As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional keyVaultId As ResourceIdentifier = Nothing, Optional keyVaultSecretName As String = Nothing, Optional keyVaultSecretStatus As Nullable(Of KeyVaultSecretStatus) = Nothing, Optional serverFarmId As ResourceIdentifier = Nothing, Optional canonicalName As String = Nothing, Optional domainValidationMethod As String = Nothing, Optional kind As String = Nothing) As AppCertificatePatch

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

password
String

Certificate password.

friendlyName
String

Friendly name of the certificate.

subjectName
String

Subject name of the certificate.

hostNames
IEnumerable<String>

Host names the certificate applies to.

pfxBlob
Byte[]

Pfx blob.

siteName
String

App name.

selfLink
String

Self link.

issuer
String

Certificate issuer.

issueOn
Nullable<DateTimeOffset>

Certificate issue Date.

expireOn
Nullable<DateTimeOffset>

Certificate expiration date.

thumbprintString
String

Certificate thumbprint.

isValid
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
ResourceIdentifier

Key Vault Csm resource Id.

keyVaultSecretName
String

Key Vault secret name.

keyVaultSecretStatus
Nullable<KeyVaultSecretStatus>

Status of the Key Vault secret.

serverFarmId
ResourceIdentifier

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.

kind
String

Kind of resource.

Returns

A new AppCertificatePatch instance for mocking.

Applies to