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]
[--subscription]
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az security contact delete
Deletes a security contact.
az security contact delete --name
[--subscription]
Examples
Deletes a security contact.
az security contact delete -n "default1"
Required Parameters
Name of the resource to be fetched.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az security contact list
List security contact.
az security contact list [--query-examples]
[--subscription]
Examples
Get security contacts.
az security contact list
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az security contact show
Shows a security contact.
az security contact show --name
[--query-examples]
[--subscription]
Examples
Get a security contact.
az security contact show -n "default1"
Required Parameters
Name of the resource to be fetched.
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.