az mysql flexible-server advanced-threat-protection-setting

サーバーの高度な脅威保護設定を管理します。

コマンド

名前 説明 Status
az mysql flexible-server advanced-threat-protection-setting show

サーバーの高度な脅威保護設定を取得します。

コア GA
az mysql flexible-server advanced-threat-protection-setting update

サーバーの Advanced Threat Protection 設定を更新します。

コア GA

az mysql flexible-server advanced-threat-protection-setting show

サーバーの高度な脅威保護設定を取得します。

az mysql flexible-server advanced-threat-protection-setting show [--ids]
                                                                 [--name]
                                                                 [--resource-group]
                                                                 [--subscription]

Advanced Threat Protection の設定を取得します。

az mysql flexible-server advanced-threat-protection-setting show -g mygroup -n myserver

省略可能のパラメーター

--ids

1 つまたは複数のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。

az mysql flexible-server advanced-threat-protection-setting update

サーバーの Advanced Threat Protection 設定を更新します。

az mysql flexible-server advanced-threat-protection-setting update --state {Disabled, Enabled}
                                                                   [--ids]
                                                                   [--name]
                                                                   [--resource-group]
                                                                   [--subscription]

Advanced Threat Protection の設定を有効にします。

az mysql flexible-server advanced-threat-protection-setting update -g mygroup -n myserver --state Enabled

Advanced Threat Protection の設定を無効にします。

az mysql flexible-server advanced-threat-protection-setting update -g mygroup -n myserver --state Disabled

必須のパラメーター

--state

Advanced Threat Protection 設定の状態。

承認された値: Disabled, Enabled

省略可能のパラメーター

--ids

1 つまたは複数のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。