az security contact

View your security contacts.

Commands

az security contact create

Creates a security contact.

az security contact delete

Deletes a security contact.

az security contact list

List security contact.

az security contact show

Shows a security contact.

az security contact create

Creates a security contact.

az security contact create --email
                           --name
                           [--alert-notifications]
                           [--alerts-admins]
                           [--phone]

Examples

Creates a security contact.

az security contact create -n "default1" --email 'john@contoso.com' --phone '(214)275-4038' --alert-notifications 'on' --alerts-admins 'on'

Required Parameters

--email

E-mail of the security contact.

--name -n

Name of the resource to be fetched.

Optional Parameters

--alert-notifications

Whether to send mail notifications to the security contacts.

--alerts-admins

Whether to send mail notifications to the subscription administrators.

--phone

Phone of the security contact.

az security contact delete

Deletes a security contact.

az security contact delete --name

Examples

Deletes a security contact.

az security contact delete -n "default1"

Required Parameters

--name -n

Name of the resource to be fetched.

az security contact list

List security contact.

az security contact list

Examples

Get security contacts.

az security contact list

az security contact show

Shows a security contact.

az security contact show --name

Examples

Get a security contact.

az security contact show -n "default1"

Required Parameters

--name -n

Name of the resource to be fetched.