az neon postgres branch
Note
This reference is part of the neon extension for the Azure CLI (version 2.70.0 or higher). 拡張機能は、 az neon postgres branch コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.
Neon Postgres データベース内のブランチを管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az neon postgres branch create |
Neon Postgres データベース内に新しいブランチを作成します。 |
Extension | GA |
az neon postgres branch delete |
Neon Postgres データベース内の既存のブランチを削除します。 |
Extension | GA |
az neon postgres branch list |
Neon Postgres の特定のプロジェクト内のすべてのブランチ リソースを一覧表示します。 |
Extension | GA |
az neon postgres branch show |
Neon Postgres データベース内の特定のブランチの詳細を取得します。 |
Extension | GA |
az neon postgres branch update |
Neon Postgres データベース内の既存のブランチのプロパティを更新します。 |
Extension | GA |
az neon postgres branch wait |
条件が満たされるまで CLI を待機状態にします。 |
Extension | GA |
az neon postgres branch create
Neon Postgres データベース内に新しいブランチを作成します。
az neon postgres branch create --branch-name --name
--organization-name
--project-name
--resource-group
[--database-name]
[--entity-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--parent-id]
[--role-name]
例
ブランチを作成する
az neon postgres branch create --resource-group rgneon --organization-name org-cli-test --project-name old-frost-16758796 --branch-name test-branch --entity-name test-branch --role-name test_role --database-name testneondb
必須のパラメーター
Neon ブランチの名前。
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
Neon プロジェクトの名前。
Azure リソース グループの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ブランチに関連付けられている Neon Database 名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
リソースの名前。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
親ブランチの ID。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
ブランチに関連付けられているロール名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az neon postgres branch delete
Neon Postgres データベース内の既存のブランチを削除します。
az neon postgres branch delete [--branch-id]
[--ids]
[--organization-name]
[--project-id]
[--resource-group]
[--subscription]
[--yes]
例
Delete Branch
az neon postgres branch delete --subscription 38a546de-5736-48e8-a69a-5cc636794112 --resource-group rgneon --organization-name org-cli-test --project-id old-frost-16758796 --branch-id br-spring-field-a8vje3tr
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Neon ブランチの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Neon プロジェクトの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Azure リソース グループの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az neon postgres branch list
Neon Postgres の特定のプロジェクト内のすべてのブランチ リソースを一覧表示します。
az neon postgres branch list --organization-name
--project-id
--resource-group
[--max-items]
[--next-token]
例
プロジェクトの下のブランチを一覧表示する
az neon postgres branch list --subscription 38a546de-5736-48e8-a69a-5cc636794112 --resource-group rgneon --organization-name org-cli-test --project-id old-frost-16758796
必須のパラメーター
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
Neon プロジェクトの ID。
Azure リソース グループの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
コマンドの出力で返される項目の合計数。 使用可能な項目の合計数が指定された値を超える場合は、コマンドの出力にトークンが提供されます。 改ページ位置の変更を再開するには、後続のコマンドの引数 --next-token
トークン値を指定します。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
ページ分割を開始する場所を指定するトークン。 これは、以前に切り捨てられた応答からのトークン値です。
プロパティ | 値 |
---|---|
Parameter group: | Pagination Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az neon postgres branch show
Neon Postgres データベース内の特定のブランチの詳細を取得します。
az neon postgres branch show [--branch-id]
[--ids]
[--organization-name]
[--project-id]
[--resource-group]
[--subscription]
例
ブランチの詳細を表示する
az neon postgres branch show --subscription 38a546de-5736-48e8-a69a-5cc636794112 --resource-group rgneon --organization-name org-cli-test --project-id old-frost-16758796 --branch-id br-spring-field-a8vje3tr
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Neon ブランチの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Neon プロジェクトの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Azure リソース グループの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az neon postgres branch update
Neon Postgres データベース内の既存のブランチのプロパティを更新します。
az neon postgres branch update [--add]
[--branch-name --name]
[--database-name]
[--entity-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--organization-name]
[--parent-id]
[--project-name]
[--remove]
[--resource-group]
[--role-name]
[--set]
[--subscription]
例
ブランチを更新する
az neon postgres branch update --resource-group rgneon --organization-name org-cli-test --project-name old-frost-16758796 --project-id old-frost-16758796 --branch-name test-branch --entity-name test-branch2 --role-name test_role --database-name testneondb
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
Neon ブランチの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ブランチに関連付けられている Neon Database 名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
リソースの名前。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
指定可能な値: | 0, 1, f, false, n, no, t, true, y, yes |
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
親ブランチの ID。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
Neon プロジェクトの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove>
OR --remove propertyToRemove
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
Azure リソース グループの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ブランチに関連付けられているロール名。
プロパティ | 値 |
---|---|
Parameter group: | Properties Arguments |
設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>
。
プロパティ | 値 |
---|---|
Parameter group: | Generic Update Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |
az neon postgres branch wait
条件が満たされるまで CLI を待機状態にします。
az neon postgres branch wait [--branch-id]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--organization-name]
[--project-id]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Neon ブランチの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
'provisioningState' が 'Succeeded' で作成されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
条件がカスタム JMESPath クエリを満たすまで待ちます。 例: provisioningState!='InProgress'、instanceView.statuses[?code=='PowerState/running']。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
削除されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
リソースが存在するまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
ポーリング間隔 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 30 |
Neon 組織の名前。 値が空白の場合は、tty から要求されます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Neon プロジェクトの ID。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
Azure リソース グループの名前。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_ID
を使用して、既定のサブスクリプションを構成できます。
プロパティ | 値 |
---|---|
Parameter group: | Resource Id Arguments |
最大待機時間 (秒単位)。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | 3600 |
provisioningState が 'Succeeded' で更新されるまで待ちます。
プロパティ | 値 |
---|---|
Parameter group: | Wait Condition Arguments |
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
プロパティ | 値 |
---|---|
規定値: | False |
Output format.
プロパティ | 値 |
---|---|
規定値: | json |
指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
プロパティ | 値 |
---|---|
規定値: | False |