gdcloud maintenance policies create

NOME

gdcloud maintenance policies create - Crea una singola policy di manutenzione.

SINOSSI

gdcloud maintenance policies create POLICY_NAME [flags]

ESEMPI

To create a weekly maintenance policy, run:

    gdcloud maintenance policies create example-policy \
        --project example-project \
        --weekly-cycle-days=Sat \
        --weekly-cycle-days=Sun \
        --weekly-cycle-duration=4h30m \
        --weekly-cycle-start-time=22:00

FLAG FACOLTATIVI

      --weekly-cycle-days strings        Comma-separated list of days of the week when maintenance can begin. Accepted values are RFC-822 style days of week, such as "Mon".
      --weekly-cycle-duration string     Maximum duration that the maintenance can last for. For example, "2h3m".
      --weekly-cycle-start-time string   Time of the day (in UTC timezone) when maintenance can begin, in "hh:mm" format. For example, "20:36".

GDCLOUD WIDE FLAGS

Questi flag sono disponibili per tutti i comandi: --configuration, --format, --help, --project, --quiet.

Per saperne di più, consulta la pagina Panoramica del riferimento di gcloud CLI.