UiPath Documentation
automation-suite
2.2510
true
uipathctl 参考指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uipathctl config alerts update-email

在 Automation Suite 的 Alertmanager 中更新电子邮件接收器。

描述​

在警示管理器中更新电子邮件接收器。

uipathctl config alerts update-email [flags]
uipathctl config alerts update-email [flags]

示例​

# Update existing receiver in alertmanager, Pass only those parameters which needs to be update along with mandatory parameter name.
uipathctl config alerts update-email --name test --to "admin@example.com" --from "admin@example.com" --smtp "server.mycompany.com:443" --username admin --password "somepassword" --require-tls --ca-file "file path too rootCA" --cert-file "file path too server certificate" --key-file "file path too server key file"
# Update existing receiver in alertmanager, Pass only those parameters which needs to be update along with mandatory parameter name.
uipathctl config alerts update-email --name test --to "admin@example.com" --from "admin@example.com" --smtp "server.mycompany.com:443" --username admin --password "somepassword" --require-tls --ca-file "file path too rootCA" --cert-file "file path too server certificate" --key-file "file path too server key file"

选项​

      --ASEA               Boolean flag to denote whether the cluster is ASEA or not
      --ca-file string     File path containing the CA certificate of the SMTP server. This parameter is optional if the CA is private
      --cert-file string   File path containing the certificate of the SMTP server. This parameter is optional if the certificate is private
      --from string        The sender's email address
  -h, --help               help for update-email
      --key-file string    File path containing the private key of the certificate for the SMTP server. This parameter is required if the certificate is private
      --name string        Name of the email configuration
      --password string    SMTP authentication Password
      --require-tls        Boolean flag to denote that TLS is enabled at the SMTP server (default true)
      --send-resolved      Boolean flag to denote whether to send email on resolved alert (default true)
      --smtp string        SMTP server URL or IP, including port
      --to string          Receiver's email address
      --username string    SMTP authentication Username
      --ASEA               Boolean flag to denote whether the cluster is ASEA or not
      --ca-file string     File path containing the CA certificate of the SMTP server. This parameter is optional if the CA is private
      --cert-file string   File path containing the certificate of the SMTP server. This parameter is optional if the certificate is private
      --from string        The sender's email address
  -h, --help               help for update-email
      --key-file string    File path containing the private key of the certificate for the SMTP server. This parameter is required if the certificate is private
      --name string        Name of the email configuration
      --password string    SMTP authentication Password
      --require-tls        Boolean flag to denote that TLS is enabled at the SMTP server (default true)
      --send-resolved      Boolean flag to denote whether to send email on resolved alert (default true)
      --smtp string        SMTP server URL or IP, including port
      --to string          Receiver's email address
      --username string    SMTP authentication Username

从父命令继承的选项​

      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
      --versions string     optional path to versions file
      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
      --versions string     optional path to versions file
  • 描述​
  • 示例​
  • 选项​
  • 从父命令继承的选项​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新