CmdID

CmdID / az / az backup / az backup item / az backup item source-scan-configuration

az backup item source-scan-configuration set

Set the Source Scan configuration used by Microsoft Defender for Cloud threat detection. Azure CLI reference

2 examples 5 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Enable Source Scan for a backed up Azure VM item.

az backup item source-scan-configuration set --resource-group MyResourceGroup --vault-name MyVault --container-name MyContainer --name MyItem --state Enabled --backup-management-type AzureIaasVM --workload-type VMIdentify
--resource-groupName of resource group.
--vault-nameName of the Recovery services vault.
--nameName of the backed up Azure VM item.
--stateSource Scan state used by Microsoft Defender for Cloud threat detection.
--backup-management-typeType of backup management for the item.
--workload-typeType of workload protected by the item.

Disable Source Scan for a backed up Azure VM item.

az backup item source-scan-configuration set --resource-group MyResourceGroup --vault-name MyVault --container-name MyContainer --name MyItem --state Disabled --backup-management-type AzureIaasVM --workload-type VMIdentify
--resource-groupName of resource group.
--vault-nameName of the Recovery services vault.
--nameName of the backed up Azure VM item.
--stateSource Scan state used by Microsoft Defender for Cloud threat detection.
--backup-management-typeType of backup management for the item.
--workload-typeType of workload protected by the item.

Options

5 in the Azure CLI reference
--backup-management-typeType of backup management for the item.
--container-name, -c
--name, -nName of the backed up Azure VM item.
--stateSource Scan state used by Microsoft Defender for Cloud threat detection.
--workload-typeType of workload protected by the item.