你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppServiceModelFactory.AppCertificatePatch 方法

定义

初始化 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

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

password
String

证书密码。

friendlyName
String

证书的友好名称。

subjectName
String

证书的使用者名称。

hostNames
IEnumerable<String>

证书适用的主机名。

pfxBlob
Byte[]

Pfx blob。

siteName
String

应用名称。

selfLink
String

自我链接。

issuer
String

证书颁发者。

issueOn
Nullable<DateTimeOffset>

证书颁发日期。

expireOn
Nullable<DateTimeOffset>

证书过期日期。

thumbprintString
String

证书指纹。

isValid
Nullable<Boolean>

证书是否有效?。

cerBlob
Byte[]

.cer 文件的原始字节数。

publicKeyHash
String

公钥哈希。

hostingEnvironmentProfile
HostingEnvironmentProfile

要用于证书的应用服务环境的规范。

keyVaultId
ResourceIdentifier

密钥保管库 Csm 资源 ID。

keyVaultSecretName
String

密钥保管库机密名称。

keyVaultSecretStatus
Nullable<KeyVaultSecretStatus>

密钥保管库机密的状态。

serverFarmId
ResourceIdentifier

关联的App 服务计划的资源 ID,格式为:“/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”。

canonicalName
String

要通过免费证书颁发的证书的 CNAME。

domainValidationMethod
String

免费证书的域验证方法。

kind
String

资源类型。

返回

用于模拟的新 AppCertificatePatch 实例。

适用于