az acr task timer
タスクのタイマー トリガーを管理します。
コマンド
| 名前 | 説明 | 型 | 状態 |
|---|---|---|---|
| az acr task timer add |
タスクにタイマー トリガーを追加します。 |
Core | GA |
| az acr task timer list |
タスクのすべてのタイマー トリガーを一覧表示します。 |
Core | GA |
| az acr task timer remove |
タスクからタイマー トリガーを削除します。 |
Core | GA |
| az acr task timer update |
タスクのタイマー トリガーを更新します。 |
Core | GA |
az acr task timer add
タスクにタイマー トリガーを追加します。
az acr task timer add --name
--registry
--schedule
--timer-name
[--enabled {false, true}]
[--resource-group]
例
月曜日から金曜日までの毎日 09:30 (UTC) にタスクをスケジュールするタイマー トリガーを追加します。
az acr task timer add -n taskname -r registryname --timer-name t2 --schedule "30 9 * * 1-5"
必須のパラメーター
タスクの名前。
コンテナー レジストリの名前。 小文字で指定する必要があります。
az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。
cron 式として表されるタイマー トリガーのスケジュール。
タイマー トリガーの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
タイマー トリガーが有効かどうかを示します。
| プロパティ | 値 |
|---|---|
| 規定値: | True |
| 指定可能な値: | false, true |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az acr task timer list
タスクのすべてのタイマー トリガーを一覧表示します。
az acr task timer list --name
--registry
[--resource-group]
例
タスクのすべてのタイマー トリガーを一覧表示します。
az acr task timer list -n taskname -r registryname
必須のパラメーター
タスクの名前。
コンテナー レジストリの名前。 小文字で指定する必要があります。
az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az acr task timer remove
タスクからタイマー トリガーを削除します。
az acr task timer remove --name
--registry
--timer-name
[--resource-group]
例
タスクからタイマー トリガーを削除します。
az acr task timer remove -n taskname -r registryname --timer-name t2
必須のパラメーター
タスクの名前。
コンテナー レジストリの名前。 小文字で指定する必要があります。
az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。
タイマー トリガーの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az acr task timer update
タスクのタイマー トリガーを更新します。
az acr task timer update --name
--registry
--timer-name
[--enabled {false, true}]
[--resource-group]
[--schedule]
例
タスクのタイマー トリガーのスケジュールを更新します。
az acr task timer update -n taskname -r registryname --timer-name t2 --schedule "0 12 * * *"
タスクのタイマー トリガーの状態を更新します。
az acr task timer update -n taskname -r registryname --timer-name t2 --enabled False
必須のパラメーター
タスクの名前。
コンテナー レジストリの名前。 小文字で指定する必要があります。
az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。
タイマー トリガーの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
タイマー トリガーが有効かどうかを示します。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | false, true |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
cron 式として表されるタイマー トリガーのスケジュール。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |