Bicep 資源定義
codeSigningAccounts/certificateProfiles 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles@2026-05-15-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
identityValidationId: 'string'
includeCity: bool
includeCountry: bool
includePostalCode: bool
includeState: bool
includeStreetAddress: bool
profileType: 'string'
programType: 'string'
}
}
屬性值
Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型資源的符號名稱:codeSigningAccounts |
| 性能 | 此資源的資源特定屬性。 | CertificateProfileProperties |
CertificateProfileProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| identityValidationId | 用於憑證主體名稱的身分識別驗證標識碼。 | 字串 (必要) |
| includeCity | 是否要在憑證主體名稱中包含 L。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeCountry (include國家/地區) | 是否要在憑證主體名稱中包含 C。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includePostalCode | 是否要在憑證主體名稱中包含計算機。 | 布爾 (bool) |
| includeState | 是否要在憑證主體名稱中包含 S。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeStreetAddress | 是否要在憑證主體名稱中包含 STREET。 | 布爾 (bool) |
| 個人資料類型 | 憑證的配置檔類型。 | '私人信託' 'PrivateTrustCIPolicy' “公共信任” “PublicTrustTest” 'VBSEnclave' (必要) |
| 程式類型 | 顯示該資源是否為特定使用情境所用。 | 字串 |
ARM 樣本資源定義
codeSigningAccounts/certificateProfiles 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"apiVersion": "2026-05-15-preview",
"name": "string",
"properties": {
"identityValidationId": "string",
"includeCity": "bool",
"includeCountry": "bool",
"includePostalCode": "bool",
"includeState": "bool",
"includeStreetAddress": "bool",
"profileType": "string",
"programType": "string"
}
}
屬性值
Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | 『2026-05-15-預覽』 |
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ (必要) |
| 性能 | 此資源的資源特定屬性。 | CertificateProfileProperties |
| 型別 | 資源類型 | “Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles” |
CertificateProfileProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| identityValidationId | 用於憑證主體名稱的身分識別驗證標識碼。 | 字串 (必要) |
| includeCity | 是否要在憑證主體名稱中包含 L。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeCountry (include國家/地區) | 是否要在憑證主體名稱中包含 C。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includePostalCode | 是否要在憑證主體名稱中包含計算機。 | 布爾 (bool) |
| includeState | 是否要在憑證主體名稱中包含 S。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeStreetAddress | 是否要在憑證主體名稱中包含 STREET。 | 布爾 (bool) |
| 個人資料類型 | 憑證的配置檔類型。 | '私人信託' 'PrivateTrustCIPolicy' “公共信任” “PublicTrustTest” 'VBSEnclave' (必要) |
| 程式類型 | 顯示該資源是否為特定使用情境所用。 | 字串 |
使用範例
Terraform (AzAPI 提供者) 資源定義
codeSigningAccounts/certificateProfiles 資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles@2026-05-15-preview"
name = "string"
parent_id = "string"
body = {
properties = {
identityValidationId = "string"
includeCity = bool
includeCountry = bool
includePostalCode = bool
includeState = bool
includeStreetAddress = bool
profileType = "string"
programType = "string"
}
}
}
屬性值
Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 資源名稱 | 字串 約束: 模式 = ^(?=.{5,100}$)[^0-9][A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:codeSigningAccounts |
| 性能 | 此資源的資源特定屬性。 | CertificateProfileProperties |
| 型別 | 資源類型 | 「Microsoft。CodeSigning/codeSigningAccounts/certificateProfiles@2026-05-15-preview” |
CertificateProfileProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| identityValidationId | 用於憑證主體名稱的身分識別驗證標識碼。 | 字串 (必要) |
| includeCity | 是否要在憑證主體名稱中包含 L。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeCountry (include國家/地區) | 是否要在憑證主體名稱中包含 C。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includePostalCode | 是否要在憑證主體名稱中包含計算機。 | 布爾 (bool) |
| includeState | 是否要在憑證主體名稱中包含 S。 僅適用於私人信任、私人信任 ci 配置檔類型 | 布爾 (bool) |
| includeStreetAddress | 是否要在憑證主體名稱中包含 STREET。 | 布爾 (bool) |
| 個人資料類型 | 憑證的配置檔類型。 | '私人信託' 'PrivateTrustCIPolicy' “公共信任” “PublicTrustTest” 'VBSEnclave' (必要) |
| 程式類型 | 顯示該資源是否為特定使用情境所用。 | 字串 |