az security contact
View your security contacts.
Commands
Name | Description | Type | Status |
---|---|---|---|
az security contact create |
Creates a security contact. |
Core | GA |
az security contact delete |
Deletes a security contact. |
Core | GA |
az security contact list |
List security contact. |
Core | GA |
az security contact show |
Shows a security contact. |
Core | GA |
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
E-mail of the security contact.
Name of the resource to be fetched.
Optional Parameters
Whether to send mail notifications to the security contacts.
Whether to send mail notifications to the subscription administrators.
Phone of the security contact.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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 of the resource to be fetched.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az security contact list
List security contact.
az security contact list
Examples
Get security contacts.
az security contact list
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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 of the resource to be fetched.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for