CmdID / az / az vmss / az vmss lifecycle-hook
az vmss lifecycle-hook remove
Remove one lifecycle hook (--type) or all lifecycle hooks (--all) from a VMSS. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--allRemove all lifecycle hooks.--typeSpecifies the type of the lifecycle hook.