Microsoft.ContainerRegistry 登錄
Bicep 資源定義
登錄資源類型可以使用目標作業進行部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
若要建立 Microsoft.ContainerRegistry/registries 資源,請將下列 Bicep 新增至您的範本。
resource symbolicname 'Microsoft.ContainerRegistry/registries@2023-01-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
name: 'string'
}
identity: {
principalId: 'string'
tenantId: 'string'
type: 'string'
userAssignedIdentities: {}
}
properties: {
adminUserEnabled: bool
anonymousPullEnabled: bool
dataEndpointEnabled: bool
encryption: {
keyVaultProperties: {
identity: 'string'
keyIdentifier: 'string'
}
status: 'string'
}
networkRuleBypassOptions: 'string'
networkRuleSet: {
defaultAction: 'string'
ipRules: [
{
action: 'Allow'
value: 'string'
}
]
}
policies: {
azureADAuthenticationAsArmPolicy: {
status: 'string'
}
exportPolicy: {
status: 'string'
}
quarantinePolicy: {
status: 'string'
}
retentionPolicy: {
days: int
status: 'string'
}
softDeletePolicy: {
retentionDays: int
status: 'string'
}
trustPolicy: {
status: 'string'
type: 'Notary'
}
}
publicNetworkAccess: 'string'
zoneRedundancy: 'string'
}
}
屬性值
registries
名稱 | 描述 | 值 |
---|---|---|
NAME | 資源名稱 | 需要字串 () 字元限制:5-50 有效字元: 英數字元。 資源名稱在整個 Azure 中必須是唯一的。 |
location | 資源的位置。 建立資源之後,就無法變更此專案。 | 需要字串 () |
tags | 資源的標記。 | 標記名稱和值的字典。 請參閱 範本中的標籤 |
sku | 容器登錄的 SKU。 | 需要 sku () |
身分識別 | 容器登錄的身分識別。 | IdentityProperties |
properties | 容器登錄的屬性。 | RegistryProperties |
IdentityProperties
名稱 | 描述 | 值 |
---|---|---|
principalId | 資源識別的主要識別碼。 | string |
tenantId | 資源的租使用者識別碼。 | 字串 |
type | 識別類型。 | 'None' 'SystemAssigned' 'SystemAssigned, UserAssigned' 'UserAssigned' |
userAssignedIdentities | 與資源相關聯的使用者身分識別清單。 使用者身分識別 字典索引鍵參考的格式會是 ARM 資源識別碼: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
object |
RegistryProperties
名稱 | 描述 | 值 |
---|---|---|
adminUserEnabled | 值,指出是否啟用系統管理員使用者。 | bool |
anonymousPullEnabled | 從未經驗證的用戶端啟用全登錄提取。 | bool |
dataEndpointEnabled | 針對每個區域啟用單一資料端點來提供資料。 | bool |
加密 | 容器登錄的加密設定。 | EncryptionProperty |
networkRuleBypassOptions | 是否允許受信任的 Azure 服務存取受網路限制的登錄。 | 'AzureServices' 'None' |
networkRuleSet | 容器登錄的網路規則集。 | NetworkRuleSet |
原則 | 容器登錄的原則。 | 原則 |
publicNetworkAccess | 容器登錄是否允許公用網路存取。 | 'Disabled' 'Enabled' |
zoneRedundancy | 是否為此容器登錄啟用區域備援 | 'Disabled' 'Enabled' |
EncryptionProperty
名稱 | 描述 | 值 |
---|---|---|
keyVaultProperties | 金鑰保存庫屬性。 | KeyVaultProperties |
status | 指出是否已啟用容器登錄的加密。 | 'disabled' 'enabled' |
KeyVaultProperties
名稱 | 描述 | 值 |
---|---|---|
身分識別 | 將用來存取金鑰保存庫之身分識別的用戶端識別碼。 | string |
keyIdentifier | 用來存取加密金鑰的金鑰保存庫 URI。 | string |
NetworkRuleSet
名稱 | 描述 | 值 |
---|---|---|
defaultAction | 當沒有其他規則相符時,允許或拒絕的預設動作。 | 'Allow' 需要 'Deny' () |
ipRules | IP ACL 規則。 | IPRule[] |
IPRule
名稱 | 描述 | 值 |
---|---|---|
動作 | IP ACL 規則的動作。 | 'Allow' |
value | 以 CIDR 格式指定 IP 或 IP 範圍。 只允許 IPV4 位址。 | 需要字串 () |
原則
名稱 | 描述 | 值 |
---|---|---|
azureADAuthenticationAsArmPolicy | 針對容器登錄使用 ARM 物件權杖的原則。 | AzureADAuthenticationAsArmPolicy |
exportPolicy | 容器登錄的匯出原則。 | ExportPolicy |
quarantinePolicy | 容器登錄的隔離原則。 | QuarantinePolicy |
retentionPolicy | 容器登錄的保留原則。 | RetentionPolicy |
softDeletePolicy | 容器登錄的虛刪除原則。 | SoftDeletePolicy |
trustPolicy | 容器登錄的內容信任原則。 | TrustPolicy |
AzureADAuthenticationAsArmPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
ExportPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
QuarantinePolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
RetentionPolicy
名稱 | 描述 | 值 |
---|---|---|
days | 要保留未標記資訊清單的天數,之後就會清除它。 | int |
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
SoftDeletePolicy
名稱 | 描述 | 值 |
---|---|---|
retentionDays | 永久刪除虛刪除專案的天數。 | int |
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
TrustPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
類型 | 信任原則的類型。 | 'Notary' |
SKU
名稱 | 描述 | 值 |
---|---|---|
NAME | 容器登錄的 SKU 名稱。 登錄建立的必要專案。 | 'Basic' 'Classic' 'Premium' 「標準」 (必要) |
快速入門範本
下列快速入門範本會部署此資源類型。
[範本] | 描述 |
---|---|
在 Azure Container Service 上使用 Jenkins 的 CI/CD (AKS) |
容器可讓您輕鬆地持續建置和部署應用程式。 藉由在 Azure Container Service 中使用 Kubernetes 協調這些容器的部署,您可以達成可複製且可管理的容器叢集。 藉由設定持續組建來產生容器映射和協調流程,您可以增加部署的速度和可靠性。 |
具有 NAT 閘道和應用程式閘道的 AKS 叢集 |
此範例示範如何使用 NAT 閘道部署 AKS 叢集以進行輸出連線,以及輸入連線的應用程式閘道。 |
使用公用 DNS 區域建立私人 AKS 叢集 |
此範例示範如何使用公用 DNS 區域部署私人 AKS 叢集。 |
使用登錄建立容器應用程式和環境 |
從Azure Container Registry建立具有基本容器應用程式的容器應用程式環境。 它也會部署 Log Analytics 工作區來儲存記錄。 |
使用 Container Apps 建立 Dapr pub-sub servicebus 應用程式 |
使用 Container Apps 建立 Dapr pub-sub servicebus 應用程式。 |
簡單Azure Container Registry範本 |
用於建立新Azure Container Registry的範本。 |
使用異地複寫範本Azure Container Registry |
使用異地複寫建立新Azure Container Registry的範本 |
使用原則和診斷Azure Container Registry |
Azure Container Registry原則和診斷 (bicep) |
Azure Machine Learning 端對端安全設定 |
這組 Bicep 範本示範如何在安全設定中端對端設定 Azure Machine Learning。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。 |
Azure Machine Learning 端對端安全設定 (舊版) |
這組 Bicep 範本示範如何在安全設定中端對端設定 Azure Machine Learning。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。 |
使用私人 IP 位址建立 AKS 計算目標 |
此範本會在具有私人 IP 位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。 |
建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述開始使用 Azure Machine Learning 所需的最少資源集。 |
(CMK) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此範例示範如何設定 Azure Machine Learning 以使用客戶管理的加密金鑰進行加密。 |
(vnet) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。 |
(舊版) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和 Azure Container Registry。 此組態描述您在網路隔離設定中開始使用 Azure Machine Learning 所需的資源集。 |
具有應用程式閘道輸入控制器的 AKS 叢集 |
此範例示範如何使用 應用程式閘道、應用程式閘道輸入控制器、Azure Container Registry、Log Analytics 和 金鑰保存庫 部署 AKS 叢集 |
使用 ACR 工作建置容器映像 |
此範本會使用 DeploymentScript 協調 ACR,從程式碼存放庫建置容器映射。 |
將容器映射匯入 ACR |
此範本會利用 bicep 登錄中的匯入 ACR 模組,將公用容器映射匯入Azure Container Registry。 |
ARM 範本資源定義
登錄資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.ContainerRegistry/registries 資源,請將下列 JSON 新增至您的範本。
{
"type": "Microsoft.ContainerRegistry/registries",
"apiVersion": "2023-01-01-preview",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"name": "string"
},
"identity": {
"principalId": "string",
"tenantId": "string",
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"adminUserEnabled": "bool",
"anonymousPullEnabled": "bool",
"dataEndpointEnabled": "bool",
"encryption": {
"keyVaultProperties": {
"identity": "string",
"keyIdentifier": "string"
},
"status": "string"
},
"networkRuleBypassOptions": "string",
"networkRuleSet": {
"defaultAction": "string",
"ipRules": [
{
"action": "Allow",
"value": "string"
}
]
},
"policies": {
"azureADAuthenticationAsArmPolicy": {
"status": "string"
},
"exportPolicy": {
"status": "string"
},
"quarantinePolicy": {
"status": "string"
},
"retentionPolicy": {
"days": "int",
"status": "string"
},
"softDeletePolicy": {
"retentionDays": "int",
"status": "string"
},
"trustPolicy": {
"status": "string",
"type": "Notary"
}
},
"publicNetworkAccess": "string",
"zoneRedundancy": "string"
}
}
屬性值
registries
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | 'Microsoft.ContainerRegistry/registries' |
apiVersion | 資源 API 版本 | '2023-01-01-preview' |
NAME | 資源名稱 | 字串 (必要) 字元限制:5-50 有效字元: 英數字元。 資源名稱在 Azure 中必須是唯一的。 |
location | 資源的位置。 建立資源之後,就無法變更此專案。 | 字串 (必要) |
tags | 資源的標記。 | 標記名稱和值的字典。 請參閱 範本中的標記 |
sku | 容器登錄的 SKU。 | 需要 sku () |
身分識別 | 容器登錄的身分識別。 | IdentityProperties |
properties | 容器登錄的屬性。 | RegistryProperties |
IdentityProperties
名稱 | 描述 | 值 |
---|---|---|
principalId | 資源識別的主體識別碼。 | string |
tenantId | 資源的租使用者識別碼。 | 字串 |
type | 識別類型。 | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' |
userAssignedIdentities | 與資源相關聯的使用者身分識別清單。 使用者身分識別 字典索引鍵參考將會是格式為 ARM 資源識別碼: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
object |
RegistryProperties
名稱 | 描述 | 值 |
---|---|---|
adminUserEnabled | 值,指出是否啟用系統管理員使用者。 | bool |
anonymousPullEnabled | 從未經驗證的用戶端啟用全登錄提取。 | bool |
dataEndpointEnabled | 針對每個區域啟用單一資料端點來提供資料。 | bool |
加密 | 容器登錄的加密設定。 | EncryptionProperty |
networkRuleBypassOptions | 是否允許受信任的 Azure 服務存取受網路限制的登錄。 | 'AzureServices' 'None' |
networkRuleSet | 容器登錄的網路規則集。 | NetworkRuleSet |
原則 | 容器登錄的原則。 | 原則 |
publicNetworkAccess | 容器登錄是否允許公用網路存取。 | 'Disabled' 'Enabled' |
zoneRedundancy | 是否為此容器登錄啟用區域備援 | 'Disabled' 'Enabled' |
EncryptionProperty
名稱 | 描述 | 值 |
---|---|---|
keyVaultProperties | 金鑰保存庫屬性。 | KeyVaultProperties |
status | 指出是否已啟用容器登錄的加密。 | 'disabled' 'enabled' |
KeyVaultProperties
名稱 | 描述 | 值 |
---|---|---|
身分識別 | 將用來存取金鑰保存庫之身分識別的用戶端識別碼。 | string |
keyIdentifier | 用來存取加密金鑰的金鑰保存庫 URI。 | string |
NetworkRuleSet
名稱 | 描述 | 值 |
---|---|---|
defaultAction | 當沒有其他規則相符時,允許或拒絕的預設動作。 | 'Allow' 需要 'Deny' () |
ipRules | IP ACL 規則。 | IPRule[] |
IPRule
名稱 | 描述 | 值 |
---|---|---|
動作 | IP ACL 規則的動作。 | 'Allow' |
value | 以 CIDR 格式指定 IP 或 IP 範圍。 只允許 IPV4 位址。 | 需要字串 () |
原則
名稱 | 描述 | 值 |
---|---|---|
azureADAuthenticationAsArmPolicy | 針對容器登錄使用 ARM 物件權杖的原則。 | AzureADAuthenticationAsArmPolicy |
exportPolicy | 容器登錄的匯出原則。 | ExportPolicy |
quarantinePolicy | 容器登錄的隔離原則。 | QuarantinePolicy |
retentionPolicy | 容器登錄的保留原則。 | RetentionPolicy |
softDeletePolicy | 容器登錄的虛刪除原則。 | SoftDeletePolicy |
trustPolicy | 容器登錄的內容信任原則。 | TrustPolicy |
AzureADAuthenticationAsArmPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
ExportPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
QuarantinePolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
RetentionPolicy
名稱 | 描述 | 值 |
---|---|---|
days | 要保留未標記資訊清單的天數,之後就會清除它。 | int |
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
SoftDeletePolicy
名稱 | 描述 | 值 |
---|---|---|
retentionDays | 永久刪除虛刪除專案的天數。 | int |
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
TrustPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 'disabled' 'enabled' |
類型 | 信任原則的類型。 | 'Notary' |
SKU
名稱 | 描述 | 值 |
---|---|---|
NAME | 容器登錄的 SKU 名稱。 登錄建立的必要專案。 | 'Basic' 'Classic' 'Premium' 「標準」 (必要) |
快速入門範本
下列快速入門範本會部署此資源類型。
[範本] | 描述 |
---|---|
在 Azure Container Service 上使用 Jenkins 的 CI/CD (AKS) |
容器可讓您輕鬆地持續建置和部署應用程式。 藉由在 Azure Container Service 中使用 Kubernetes 協調這些容器的部署,您可以達成可複製且可管理的容器叢集。 藉由設定持續組建來產生容器映射和協調流程,您可以增加部署的速度和可靠性。 |
具有 NAT 閘道和應用程式閘道的 AKS 叢集 |
此範例示範如何使用 NAT 閘道部署 AKS 叢集以進行輸出連線,以及輸入連線的應用程式閘道。 |
使用公用 DNS 區域建立私人 AKS 叢集 |
此範例示範如何使用公用 DNS 區域部署私人 AKS 叢集。 |
使用登錄建立容器應用程式和環境 |
從Azure Container Registry建立具有基本容器應用程式的容器應用程式環境。 它也會部署 Log Analytics 工作區來儲存記錄。 |
使用 Container Apps 建立 Dapr pub-sub servicebus 應用程式 |
使用 Container Apps 建立 Dapr pub-sub servicebus 應用程式。 |
簡單Azure Container Registry範本 |
用於建立新Azure Container Registry的範本。 |
使用異地複寫範本Azure Container Registry |
使用異地複寫建立新Azure Container Registry的範本 |
使用原則和診斷Azure Container Registry |
Azure Container Registry原則和診斷 (bicep) |
Azure Machine Learning 端對端安全設定 |
這組 Bicep 範本示範如何在安全設定中端對端設定 Azure Machine Learning。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。 |
Azure Machine Learning 端對端安全設定 (舊版) |
這組 Bicep 範本示範如何在安全設定中端對端設定 Azure Machine Learning。 此參考實作包括 Workspace、計算叢集、計算實例和附加的私人 AKS 叢集。 |
使用私人 IP 位址建立 AKS 計算目標 |
此範本會在具有私人 IP 位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。 |
建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述開始使用 Azure Machine Learning 所需的最少資源集。 |
(CMK) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此範例示範如何設定 Azure Machine Learning 以使用客戶管理的加密金鑰進行加密。 |
(vnet) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。 |
(舊版) 建立 Azure Machine Learning 服務工作區 |
此部署範本會指定 Azure Machine Learning 工作區及其相關聯的資源,包括 Azure 金鑰保存庫、Azure 儲存體、Azure 應用程式 Insights 和Azure Container Registry。 此組態描述在網路隔離設定中開始使用 Azure Machine Learning 所需的一組資源。 |
具有應用程式閘道輸入控制器的 AKS 叢集 |
此範例示範如何使用 應用程式閘道、應用程式閘道輸入控制器、Azure Container Registry、Log Analytics 和 金鑰保存庫 部署 AKS 叢集 |
使用 ACR 工作建置容器映像 |
此範本會使用 DeploymentScript 協調 ACR,從程式碼存放庫建置容器映射。 |
將容器映射匯入 ACR |
此範本會利用 bicep 登錄中的匯入 ACR 模組,將公用容器映射匯入Azure Container Registry。 |
Terraform (AzAPI 提供者) 資源定義
登錄資源類型可以使用目標作業來部署:
- 資源群組
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄。
資源格式
若要建立 Microsoft.ContainerRegistry/registries 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ContainerRegistry/registries@2023-01-01-preview"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
type = "string"
identity_ids = []
}
body = jsonencode({
properties = {
adminUserEnabled = bool
anonymousPullEnabled = bool
dataEndpointEnabled = bool
encryption = {
keyVaultProperties = {
identity = "string"
keyIdentifier = "string"
}
status = "string"
}
networkRuleBypassOptions = "string"
networkRuleSet = {
defaultAction = "string"
ipRules = [
{
action = "Allow"
value = "string"
}
]
}
policies = {
azureADAuthenticationAsArmPolicy = {
status = "string"
}
exportPolicy = {
status = "string"
}
quarantinePolicy = {
status = "string"
}
retentionPolicy = {
days = int
status = "string"
}
softDeletePolicy = {
retentionDays = int
status = "string"
}
trustPolicy = {
status = "string"
type = "Notary"
}
}
publicNetworkAccess = "string"
zoneRedundancy = "string"
}
sku = {
name = "string"
}
})
}
屬性值
registries
名稱 | 描述 | 值 |
---|---|---|
類型 | 資源類型 | 「Microsoft.ContainerRegistry/registries@2023-01-01-preview」 |
NAME | 資源名稱 | 字串 (必要) 字元限制:5-50 有效字元: 英數字元。 資源名稱在 Azure 中必須是唯一的。 |
location | 資源的位置。 建立資源之後,就無法變更此專案。 | 字串 (必要) |
parent_id | 若要部署至資源群組,請使用該資源群組的識別碼。 | 字串 (必要) |
tags | 資源的標記。 | 標記名稱和值的字典。 |
sku | 容器登錄的 SKU。 | 需要 sku () |
身分識別 | 容器登錄的身分識別。 | IdentityProperties |
properties | 容器登錄的屬性。 | RegistryProperties |
IdentityProperties
名稱 | 描述 | 值 |
---|---|---|
類型 | 識別類型。 | 「SystemAssigned」 「SystemAssigned, UserAssigned」 「UserAssigned」 |
identity_ids | 與資源相關聯的使用者身分識別清單。 使用者身分識別 字典索引鍵參考將會是格式為 ARM 資源識別碼: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 |
使用者身分識別識別碼的陣列。 |
RegistryProperties
名稱 | 描述 | 值 |
---|---|---|
adminUserEnabled | 值,指出是否啟用系統管理員使用者。 | bool |
anonymousPullEnabled | 從未經驗證的用戶端啟用全登錄提取。 | bool |
dataEndpointEnabled | 針對每個區域啟用單一資料端點來提供資料。 | bool |
加密 | 容器登錄的加密設定。 | EncryptionProperty |
networkRuleBypassOptions | 是否允許受信任的 Azure 服務存取受網路限制的登錄。 | 「AzureServices」 "None" |
networkRuleSet | 容器登錄的網路規則集。 | NetworkRuleSet |
原則 | 容器登錄的原則。 | 原則 |
publicNetworkAccess | 容器登錄是否允許公用網路存取。 | 「Disabled」 「Enabled」 |
zoneRedundancy | 是否為此容器登錄啟用區域備援 | 「Disabled」 「Enabled」 |
EncryptionProperty
名稱 | 描述 | 值 |
---|---|---|
keyVaultProperties | 金鑰保存庫屬性。 | KeyVaultProperties |
status | 指出是否為容器登錄啟用加密。 | 「已停用」 「已啟用」 |
KeyVaultProperties
名稱 | 描述 | 值 |
---|---|---|
身分識別 | 用來存取金鑰保存庫之身分識別的用戶端識別碼。 | string |
keyIdentifier | 用來存取加密金鑰的金鑰保存庫 URI。 | string |
NetworkRuleSet
名稱 | 描述 | 值 |
---|---|---|
defaultAction | 當沒有其他規則相符時,允許或拒絕的預設動作。 | 「Allow」 必要) 「拒絕」 ( |
ipRules | IP ACL 規則。 | IPRule[] |
IPRule
名稱 | 描述 | 值 |
---|---|---|
動作 | IP ACL 規則的動作。 | 「Allow」 |
value | 指定 CIDR 格式的 IP 或 IP 範圍。 只允許 IPV4 位址。 | 字串 (必要) |
原則
名稱 | 描述 | 值 |
---|---|---|
azureADAuthenticationAsArmPolicy | 針對容器登錄使用 ARM 物件權杖的原則。 | AzureADAuthenticationAsArmPolicy |
exportPolicy | 容器登錄的匯出原則。 | ExportPolicy |
quarantinePolicy | 容器登錄的隔離原則。 | QuarantinePolicy |
retentionPolicy | 容器登錄的保留原則。 | RetentionPolicy |
softDeletePolicy | 容器登錄的虛刪除原則。 | SoftDeletePolicy |
trustPolicy | 容器登錄的內容信任原則。 | TrustPolicy |
AzureADAuthenticationAsArmPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
ExportPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
QuarantinePolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
RetentionPolicy
名稱 | 描述 | 值 |
---|---|---|
days | 要保留未標記資訊清單的天數,之後就會清除資訊清單。 | int |
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
SoftDeletePolicy
名稱 | 描述 | 值 |
---|---|---|
retentionDays | 永久刪除虛刪除專案的天數。 | int |
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
TrustPolicy
名稱 | 描述 | 值 |
---|---|---|
status | 值,指出是否啟用原則。 | 「已停用」 「已啟用」 |
類型 | 信任原則的類型。 | 「Notary」 |
SKU
名稱 | 描述 | 值 |
---|---|---|
NAME | 容器登錄的 SKU 名稱。 登錄建立的必要專案。 | "Basic" 「傳統」 「Premium」 「標準」 (必要) |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應