共用方式為


Microsoft.Web csrs

Bicep 資源定義

csrs 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Web/csrs 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.Web/csrs@2015-08-01' = {
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    csrString: 'string'
    distinguishedName: 'string'
    hostingEnvironment: 'string'
    name: 'string'
    password: 'string'
    pfxBlob: 'string'
    publicKeyHash: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

CsrProperties

名字 描述 價值
csrString 已建立的實際 CSR 字串 字串
distinguishedName 要建立的憑證辨別名稱 字串
hostingEnvironment 裝載環境 字串
名字 用來尋找 CSR 物件的名稱 字串
密碼 PFX 密碼 字串
pfxBlob 已建立憑證的 PFX 憑證 字串
publicKeyHash 憑證公鑰的哈希 字串

Microsoft.Web/csrs

名字 描述 價值
資源種類 字串
位置 資源位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 CsrProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ResourceTags

名字 描述 價值

ARM 樣本資源定義

csrs 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Web/csrs 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.Web/csrs",
  "apiVersion": "2015-08-01",
  "name": "string",
  "kind": "string",
  "location": "string",
  "properties": {
    "csrString": "string",
    "distinguishedName": "string",
    "hostingEnvironment": "string",
    "name": "string",
    "password": "string",
    "pfxBlob": "string",
    "publicKeyHash": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

CsrProperties

名字 描述 價值
csrString 已建立的實際 CSR 字串 字串
distinguishedName 要建立的憑證辨別名稱 字串
hostingEnvironment 裝載環境 字串
名字 用來尋找 CSR 物件的名稱 字串
密碼 PFX 密碼 字串
pfxBlob 已建立憑證的 PFX 憑證 字串
publicKeyHash 憑證公鑰的哈希 字串

Microsoft.Web/csrs

名字 描述 價值
apiVersion API 版本 '2015-08-01'
資源種類 字串
位置 資源位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 CsrProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
類型 資源類型 'Microsoft.Web/csrs'

ResourceTags

名字 描述 價值

Terraform (AzAPI 提供者) 資源定義

csrs 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔

資源格式

若要建立 Microsoft.Web/csrs 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/csrs@2015-08-01"
  name = "string"
  kind = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      csrString = "string"
      distinguishedName = "string"
      hostingEnvironment = "string"
      name = "string"
      password = "string"
      pfxBlob = "string"
      publicKeyHash = "string"
    }
  })
}

屬性值

CsrProperties

名字 描述 價值
csrString 已建立的實際 CSR 字串 字串
distinguishedName 要建立的憑證辨別名稱 字串
hostingEnvironment 裝載環境 字串
名字 用來尋找 CSR 物件的名稱 字串
密碼 PFX 密碼 字串
pfxBlob 已建立憑證的 PFX 憑證 字串
publicKeyHash 憑證公鑰的哈希 字串

Microsoft.Web/csrs

名字 描述 價值
資源種類 字串
位置 資源位置 字串 (必要)
名字 資源名稱 字串 (必要)
性能 CsrProperties
標籤 資源標籤 標記名稱和值的字典。
類型 資源類型 “Microsoft.Web/csrs@2015-08-01”

ResourceTags

名字 描述 價值