Using Console
Using CLI
<email_address>
, <name>
, and <phone_number>
with the appropriate values.
Using Python
DefaultAzureCredential
:SecurityCenter
client object:<subscription-id>
with your Azure subscription ID.<resource-group-name>
and <security-contact-name>
with the appropriate values.security_contact
object is None
, create a new security contact:<email-address>
and <phone-number>
with the appropriate values.security_contact
object is not None
, update the existing security contact:<email-address>
and <phone-number>
with the appropriate values.