az security automation-action-event-hub
建立安全性自動化事件中樞動作。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az security automation-action-event-hub create |
建立安全性自動化事件中樞動作。 |
核心 | GA |
az security automation-action-event-hub create
建立安全性自動化事件中樞動作。
az security automation-action-event-hub create --connection-string
--event-hub-resource-id
[--sas-policy-name]
範例
建立安全性自動化事件中樞動作。
az security automation-action-event-hub create --event-hub-resource-id '/subscriptions/03b601f1-7eca-4496-8f8d-355219eee254/resourceGroups/sample-rg/providers/Microsoft.EventHub/namespaces/evenhubnamespace1/eventhubs/evenhubname1' --connection-string 'Endpoint=sb://dummy/;SharedAccessKeyName=dummy;SharedAccessKey=dummy;EntityPath=dummy' --sas-policy-name 'Send'
必要參數
--connection-string
目標事件中樞連接字串(不會包含在任何回應中)。
--event-hub-resource-id
目標事件中樞 Azure 資源識別碼。
選擇性參數
--sas-policy-name
目標事件中樞 SAS 原則名稱。
全域參數
--debug
提高日誌詳細程度以顯示所有調試日誌。
--help -h
顯示此說明訊息並結束。
--only-show-errors
只顯示錯誤,隱藏警告。
--output -o
輸出格式。
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
--subscription
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
--verbose
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。