Microsoft.CertificateRegistration certificateOrders 2022-03-01
Bicep 資源定義
certificateOrders 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CertificateRegistration/certificateOrders 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.CertificateRegistration/certificateOrders@2022-03-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
kind: 'string'
properties: {
autoRenew: bool
certificates: {}
csr: 'string'
distinguishedName: 'string'
keySize: int
productType: 'string'
validityInYears: int
}
}
屬性值
certificateOrders
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 | 需要字串 () 字元限制:3-30 有效字元: 英數字元。 |
location | 資源位置。 | 需要字串 () |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標籤 |
kind | 資源種類。 | 字串 |
properties | AppServiceCertificateOrder 資源特定屬性 | AppServiceCertificateOrderProperties |
AppServiceCertificateOrderProperties
名稱 | 描述 | 值 |
---|---|---|
autoRenew | true 如果憑證到期時應該自動更新,則為 ;否則為 false 。 |
bool |
certificates | 金鑰保存庫秘密的狀態。 | object |
csr | 為此訂單建立的最後一個 CSR。 | 字串 |
distinguishedName | 憑證辨別名稱。 | 字串 |
keySize | 憑證金鑰大小。 | int |
productType | 憑證產品類型。 | 'StandardDomainValidatedSsl' 'StandardDomainValidatedWildCardSsl' (必要) |
validityInYears | (的持續時間必須是 1) 。 | int |
快速入門範本
下列快速入門範本會部署此資源類型。
範本 | 描述 |
---|---|
建立和指派標準App Service憑證 |
建立標準App Service憑證、使用 App Service 應用程式進行驗證,並在憑證就緒後建立 SSL 系結 |
建立並指派萬用字元App Service憑證 |
建立萬用字元App Service憑證、使用 App Service 網域進行驗證,並在憑證就緒之後,在App Service應用程式上建立 SSL 系結 |
ARM 範本資源定義
certificateOrders 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CertificateRegistration/certificateOrders 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.CertificateRegistration/certificateOrders",
"apiVersion": "2022-03-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"kind": "string",
"properties": {
"autoRenew": "bool",
"certificates": {},
"csr": "string",
"distinguishedName": "string",
"keySize": "int",
"productType": "string",
"validityInYears": "int"
}
}
屬性值
certificateOrders
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 'Microsoft.CertificateRegistration/certificateOrders' |
apiVersion | 資源 API 版本 | '2022-03-01' |
NAME | 資源名稱 | 需要字串 () 字元限制:3-30 有效字元: 英數字元。 |
location | 資源位置。 | 需要字串 () |
tags | 資源標籤。 | 標記名稱和值的字典。 請參閱 範本中的標籤 |
kind | 資源種類。 | string |
properties | AppServiceCertificateOrder 資源特定屬性 | AppServiceCertificateOrderProperties |
AppServiceCertificateOrderProperties
名稱 | 描述 | 值 |
---|---|---|
autoRenew | true 如果憑證到期時應該自動更新,則為 ;否則為 false 。 |
bool |
certificates | 金鑰保存庫秘密的狀態。 | object |
csr | 為此訂單建立的最後一個 CSR。 | string |
distinguishedName | 憑證辨別名稱。 | string |
keySize | 憑證金鑰大小。 | int |
productType | 憑證產品類型。 | 'StandardDomainValidatedSsl' 'StandardDomainValidatedWildCardSsl' (必要) |
validityInYears | (的持續時間必須是 1) 。 | int |
快速入門範本
下列快速入門範本會部署此資源類型。
範本 | 描述 |
---|---|
建立和指派標準App Service憑證 |
建立標準App Service憑證、使用 App Service 應用程式進行驗證,並在憑證就緒後建立 SSL 系結 |
建立並指派萬用字元App Service憑證 |
建立萬用字元App Service憑證、使用 App Service 網域進行驗證,並在憑證就緒之後,在App Service應用程式上建立 SSL 系結 |
Terraform (AzAPI 提供者) 資源定義
certificateOrders 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CertificateRegistration/certificateOrders 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CertificateRegistration/certificateOrders@2022-03-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
body = jsonencode({
properties = {
autoRenew = bool
certificates = {}
csr = "string"
distinguishedName = "string"
keySize = int
productType = "string"
validityInYears = int
}
kind = "string"
})
}
屬性值
certificateOrders
名稱 | 描述 | 值 |
---|---|---|
type | 資源類型 | 「Microsoft.CertificateRegistration/certificateOrders@2022-03-01」 |
NAME | 資源名稱 | 需要字串 () 字元限制:3-30 有效字元: 英數字元。 |
location | 資源位置。 | 需要字串 () |
parent_id | 若要部署至資源群組,請使用該資源群組的識別碼。 | 需要字串 () |
tags | 資源標籤。 | 標記名稱和值的字典。 |
kind | 資源種類。 | string |
properties | AppServiceCertificateOrder 資源特定屬性 | AppServiceCertificateOrderProperties |
AppServiceCertificateOrderProperties
名稱 | 描述 | 值 |
---|---|---|
autoRenew | true 如果憑證到期時應該自動更新,則為 ;否則為 false 。 |
bool |
certificates | 金鑰保存庫秘密的狀態。 | object |
csr | 為此訂單建立的最後一個 CSR。 | 字串 |
distinguishedName | 憑證辨別名稱。 | 字串 |
keySize | 憑證金鑰大小。 | int |
productType | 憑證產品類型。 | 「StandardDomainValidatedSsl」 「StandardDomainValidatedWildCardSsl」 (必要) |
validityInYears | (的持續時間必須是 1) 。 | int |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應