az aks connection create
Note
このコマンド グループには、Azure CLI と少なくとも 1 つの拡張機能の両方で定義されているコマンドがあります。 各拡張機能をインストールして、拡張機能を活用します。 Learn more about extensions.
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
aks とターゲット リソースの間に接続を作成します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az aks connection create app-insights |
app-insights への aks 接続を作成します。 |
Core | Preview |
az aks connection create appconfig |
appconfig への aks 接続を作成します。 |
Core | Preview |
az aks connection create cognitiveservices |
cognitiveservices への aks 接続を作成します。 |
Core | Preview |
az aks connection create confluent-cloud |
confluent-cloud への aks 接続を作成します。 |
Core | Preview |
az aks connection create cosmos-cassandra |
cosmos-cassandra への aks 接続を作成します。 |
Core | Preview |
az aks connection create cosmos-gremlin |
cosmos-gremlin への aks 接続を作成します。 |
Core | Preview |
az aks connection create cosmos-mongo |
cosmos-mongo への aks 接続を作成します。 |
Core | Preview |
az aks connection create cosmos-sql |
cosmos-sql への aks 接続を作成します。 |
Core | Preview |
az aks connection create cosmos-table |
cosmos-table への aks 接続を作成します。 |
Core | Preview |
az aks connection create eventhub |
eventhub への aks 接続を作成します。 |
Core | Preview |
az aks connection create keyvault |
keyvault への aks 接続を作成します。 |
Core | Preview |
az aks connection create mongodb-atlas |
mongodb-atlas への aks 接続を作成します。 |
Core | Preview |
az aks connection create mysql |
mysql への aks 接続を作成します。 |
Core | プレビューと非推奨 |
az aks connection create mysql-flexible |
mysql-flexible への aks 接続を作成します。 |
Core | Preview |
az aks connection create mysql-flexible (serviceconnector-passwordless 拡張機能) |
mysql-flexible への aks 接続を作成します。 |
Extension | GA |
az aks connection create neon-postgres |
neon-postgres への aks 接続を作成します。 |
Core | Preview |
az aks connection create postgres |
postgres への aks 接続を作成します。 |
Core | プレビューと非推奨 |
az aks connection create postgres-flexible |
postgres フレキシブルへの aks 接続を作成します。 |
Core | Preview |
az aks connection create postgres-flexible (serviceconnector-passwordless 拡張機能) |
postgres フレキシブルへの aks 接続を作成します。 |
Extension | GA |
az aks connection create redis |
redis への aks 接続を作成します。 |
Core | Preview |
az aks connection create redis-enterprise |
redis-enterprise への aks 接続を作成します。 |
Core | Preview |
az aks connection create servicebus |
servicebus への aks 接続を作成します。 |
Core | Preview |
az aks connection create signalr |
signalr への aks 接続を作成します。 |
Core | Preview |
az aks connection create sql |
sql への aks 接続を作成します。 |
Core | Preview |
az aks connection create sql (serviceconnector-passwordless 拡張機能) |
sql への aks 接続を作成します。 |
Extension | GA |
az aks connection create storage-blob |
ストレージ BLOB への aks 接続を作成します。 |
Core | Preview |
az aks connection create storage-file |
ストレージ ファイルへの aks 接続を作成します。 |
Core | Preview |
az aks connection create storage-queue |
storage-queue への aks 接続を作成します。 |
Core | Preview |
az aks connection create storage-table |
storage-table への aks 接続を作成します。 |
Core | Preview |
az aks connection create webpubsub |
webpubsub への aks 接続を作成します。 |
Core | Preview |
az aks connection create app-insights
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
app-insights への aks 接続を作成します。
az aks connection create app-insights [--app-insights]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と app-insights の間の接続を対話形式で作成する
az aks connection create app-insights
リソース名を使用して aks と app-insights の間の接続を作成する
az aks connection create app-insights -g ClusterRG -n MyCluster --tg AppInsightsRG --app-insights MyAppInsights --secret
リソース ID を使用して aks と app-insights の間の接続を作成する
az aks connection create app-insights --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/microsoft.insights/components/{appinsights} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
アプリの分析情報の名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--app-insights'] が指定されていない場合は必須です。
アプリの分析情報を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create appconfig
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
appconfig への aks 接続を作成します。
az aks connection create appconfig [--app-config]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--use-appconfig-extension {false, true}]
[--workload-identity]
例
aks と appconfig の間の接続を対話形式で作成する
az aks connection create appconfig
リソース名を使用して aks と appconfig の間の接続を作成する
az aks connection create appconfig -g ClusterRG -n MyCluster --tg AppconfigRG --app-config MyConfigStore --secret
リソース ID を使用して aks と appconfig の間の接続を作成する
az aks connection create appconfig --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.AppConfiguration/configurationStores/{config_store} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
アプリ構成の名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--app-config'] が指定されていない場合は必須です。
アプリ構成を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
Kubernetes クラスターに Azure App Configuration 拡張機能をインストールします。
プロパティ | 値 |
---|---|
規定値: | False |
指定可能な値: | false, true |
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create cognitiveservices
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cognitiveservices への aks 接続を作成します。
az aks connection create cognitiveservices [--account]
[--appconfig-id]
[--client-type {dotnet, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cognitiveservices の間の接続を対話形式で作成する
az aks connection create cognitiveservices
リソース名を使用して aks と cognitiveservices の間の接続を作成する
az aks connection create cognitiveservices -g ClusterRG -n MyCluster --tg CognitiveServicesRG --account MyAccount --secret
リソース ID を使用して aks と cognitiveservices の間の接続を作成する
az aks connection create cognitiveservices --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.CognitiveServices/accounts/{account} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
コグニティブ サービス アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, none, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account'] が指定されていない場合は必須です。
コグニティブ サービスを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create confluent-cloud
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
confluent-cloud への aks 接続を作成します。
az aks connection create confluent-cloud --bootstrap-server
--kafka-key
--kafka-secret
--schema-key
--schema-registry
--schema-secret
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, none, python, springBoot}]
[--connection]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--source-id]
例
aks と confluent-cloud の間の接続を作成する
az aks connection create confluent-cloud -g ClusterRG -n MyCluster --bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret --schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret
必須のパラメーター
Kafka ブートストラップ サーバーの URL。
Kafka API-Key (キー)。
Kafka API-Key (シークレット)。
スキーマ レジストリ API キー (キー)。
スキーマ レジストリの URL。
スキーマ レジストリ API キー (シークレット)。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, none, python, springBoot |
接続の名前。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create cosmos-cassandra
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cosmos-cassandra への aks 接続を作成します。
az aks connection create cosmos-cassandra [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--key-space]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cosmos-cassandra の間の接続を対話形式で作成する
az aks connection create cosmos-cassandra
リソース名を使用して aks と cosmos-cassandra の間の接続を作成する
az aks connection create cosmos-cassandra -g ClusterRG -n MyCluster --tg CosmosRG --account MyAccount --key-space MyKeySpace --secret
リソース ID を使用して aks と cosmos-cassandra の間の接続を作成する
az aks connection create cosmos-cassandra --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/cassandraKeyspaces/{key_space} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Cosmos データベース アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
キースペースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group'、'--account'、'--key-space'] が指定されていない場合は必須です。
Cosmos データベース アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create cosmos-gremlin
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cosmos-gremlin への aks 接続を作成します。
az aks connection create cosmos-gremlin [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--graph]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cosmos-gremlin の間の接続を対話形式で作成する
az aks connection create cosmos-gremlin
リソース名を使用して aks と cosmos-gremlin の間の接続を作成する
az aks connection create cosmos-gremlin -g ClusterRG -n MyCluster --tg CosmosRG --account MyAccount --database MyDB --graph MyGraph --secret
リソース ID を使用して aks と cosmos-gremlin の間の接続を作成する
az aks connection create cosmos-gremlin --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/gremlinDatabases/{database}/graphs/{graph} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Cosmos データベース アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, php, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
データベース名。 '--target-id' が指定されていない場合は必須です。
グラフの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group'、'--account'、'--database'、'--graph'] が指定されていない場合は必須です。
Cosmos データベース アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create cosmos-mongo
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cosmos-mongo への aks 接続を作成します。
az aks connection create cosmos-mongo [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cosmos-mongo の間の接続を対話形式で作成する
az aks connection create cosmos-mongo
リソース名を使用して aks と cosmos-mongo の間の接続を作成する
az aks connection create cosmos-mongo -g ClusterRG -n MyCluster --tg CosmosRG --account MyAccount --database MyDB --secret
リソース ID を使用して aks と cosmos-mongo の間の接続を作成する
az aks connection create cosmos-mongo --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/mongodbDatabases/{database} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Cosmos データベース アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
データベース名。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group'、'--account'、'--database'] が指定されていない場合は必須です。
Cosmos データベース アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create cosmos-sql
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cosmos-sql への aks 接続を作成します。
az aks connection create cosmos-sql [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cosmos-sql の間の接続を対話形式で作成する
az aks connection create cosmos-sql
リソース名を使用して aks と cosmos-sql の間の接続を作成する
az aks connection create cosmos-sql -g ClusterRG -n MyCluster --tg CosmosRG --account MyAccount --database MyDB --secret
リソース ID を使用して aks と cosmos-sql の間の接続を作成する
az aks connection create cosmos-sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/sqlDatabases/{database} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Cosmos データベース アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
データベース名。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group'、'--account'、'--database'] が指定されていない場合は必須です。
Cosmos データベース アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create cosmos-table
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
cosmos-table への aks 接続を作成します。
az aks connection create cosmos-table [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--table]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と cosmos-table の間の接続を対話形式で作成する
az aks connection create cosmos-table
リソース名を使用して aks と cosmos-table の間の接続を作成する
az aks connection create cosmos-table -g ClusterRG -n MyCluster --tg CosmosRG --account MyAccount --table MyTable --secret
リソース ID を使用して aks と cosmos-table の間の接続を作成する
az aks connection create cosmos-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/tables/{table} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Cosmos データベース アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
テーブルの名前。 '--target-id' が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account', '--table'] が指定されていない場合は必須です。
Cosmos データベース アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create eventhub
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
eventhub への aks 接続を作成します。
az aks connection create eventhub [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--namespace]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と eventhub の間の接続を対話形式で作成する
az aks connection create eventhub
リソース名を使用して aks と eventhub の間の接続を作成する
az aks connection create eventhub -g ClusterRG -n MyCluster --tg EventhubRG --namespace MyNamespace --secret
リソース ID を使用して aks と eventhub の間の接続を作成する
az aks connection create eventhub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.EventHub/namespaces/{namespace} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
eventhub 名前空間の名前。 '--target-id' が指定されていない場合は必須です。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--namespace'] が指定されていない場合は必須です。
eventhub を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create keyvault
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
keyvault への aks 接続を作成します。
az aks connection create keyvault [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--kube-namespace]
[--name]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--vault]
[--workload-identity]
例
aks と keyvault の間の接続を対話形式で作成する
az aks connection create keyvault
リソース名を使用して aks と keyvault の間の接続を作成する
az aks connection create keyvault -g ClusterRG -n MyCluster --tg KeyvaultRG --vault MyVault --enable-csi
リソース ID を使用して aks と keyvault の間の接続を作成する
az aks connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.KeyVault/vaults/{vault} --enable-csi
新しい keyvault を作成し、aks を対話形式で接続する
az aks connection create keyvault --new
新しい keyvault を作成し、それに aks を接続する
az aks connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --new
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
CSI ボリューム経由でシークレット ストアとして keyvault を使用します。 指定した場合、AuthType 引数は必要ありません。
プロパティ | 値 |
---|---|
規定値: | False |
指定可能な値: | false, true |
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
aks 接続の作成時に新しい keyvault を作成するかどうかを示します。
プロパティ | 値 |
---|---|
規定値: | False |
指定可能な値: | false, true |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--vault'] が指定されていない場合は必須です。
keyvault を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
keyvault の名前。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create mongodb-atlas
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
mongodb-atlas への aks 接続を作成します。
az aks connection create mongodb-atlas [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-resource-group --tg]
例
aks と mongodb-atlas の間の接続を対話形式で作成する
az aks connection create mongodb-atlas
リソース名を使用して aks と mongodb-atlas の間の接続を作成する
az aks connection create mongodb-atlas -g ClusterRG -n MyCluster --tg MongoDBAtlasRG --server MongoDBAtlasServer --secret secret=xx
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレット認証の接続文字列。
使用法: --secret secret=XX
secret : シークレット認証の接続文字列。例: mongodb+srv://myUser:myPassword@cluster0.a12345.mongodb.net/?retryWrites=true&w=majority>appName=Cluster0。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
MongoDB Atlas サーバーの名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
MongoDB Atlas を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create mysql
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
このコマンドは非推奨となり、今後のリリースで削除される予定です。
mysql への aks 接続を作成します。
az aks connection create mysql [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と mysql の間の接続を対話形式で作成する
az aks connection create mysql
リソース名を使用して aks と mysql の間の接続を作成する
az aks connection create mysql -g ClusterRG -n MyCluster --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と mysql の間の接続を作成する
az aks connection create mysql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBForMySQL/servers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
mysql データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
mysql サーバーの名前。 '--target-id' が指定されていない場合は必須です。
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
mysql サーバーを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create mysql-flexible
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
mysql-flexible への aks 接続を作成します。
az aks connection create mysql-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と mysql-flexible の間の接続を対話形式で作成する
az aks connection create mysql-flexible
リソース名を使用して aks と mysql-flexible の間の接続を作成する
az aks connection create mysql-flexible -g ClusterRG -n MyCluster --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と mysql-flexible の間の接続を作成する
az aks connection create mysql-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforMySQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
mysql フレキシブル データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
mysql フレキシブル サーバーの名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
mysql フレキシブル サーバーを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create mysql-flexible (serviceconnector-passwordless 拡張機能)
mysql-flexible への aks 接続を作成します。
az aks connection create mysql-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--new]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
[--yes]
例
aks と mysql-flexible の間の接続を対話形式で作成する
az aks connection create mysql-flexible
リソース名を使用して aks と mysql-flexible の間の接続を作成する
az aks connection create mysql-flexible -g ClusterRG -n MyCluster --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と mysql-flexible の間の接続を作成する
az aks connection create mysql-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforMySQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
mysql フレキシブル データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
データベースに新しいユーザーを作成する前に、同じ名前の既存のユーザーを削除する。
プロパティ | 値 |
---|---|
規定値: | False |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: シークレットの 1 つである secret-uri、secret-name が必要です。 シークレット認証のパスワードまたはアカウント キー。secret-uri: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット URI。 secret-name: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
mysql フレキシブル サーバーの名前。 '--target-id' が指定されていない場合は必須です。
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。 mysql-identity-id: 省略可能。 MySQL フレキシブル サーバー Microsoft Entra 認証に使用される ID の ID。 サーバー Microsoft Entra 管理者の場合は無視します。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
mysql フレキシブル サーバーを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id> mysql-identity-id=<mysql-identity-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。 mysql-identity-id: 省略可能。 MySQL フレキシブル サーバー Microsoft Entra 認証に使用される ID の ID。 サーバー Microsoft Entra 管理者の場合は無視します。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create neon-postgres
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
neon-postgres への aks 接続を作成します。
az aks connection create neon-postgres [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--source-id]
例
aks と neon-postgres の間の接続を対話形式で作成する
az aks connection create neon-postgres
リソース名を使用して aks と neon-postgres の間の接続を作成する
az aks connection create neon-postgres -g ClusterRG -n MyCluster --server MyServer --database MyDB --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
SQL データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
SQL Server の名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create postgres
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
このコマンドは非推奨となり、今後のリリースで削除される予定です。
postgres への aks 接続を作成します。
az aks connection create postgres [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と postgres の間の接続を対話形式で作成する
az aks connection create postgres
リソース名を使用して aks と postgres の間の接続を作成する
az aks connection create postgres -g ClusterRG -n MyCluster --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と postgres の間の接続を作成する
az aks connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/servers/{server}/databases/{database} --secret name=XX secret=XX
新しい postgres を作成し、aks を対話形式で接続する
az aks connection create postgres --new
新しい postgres を作成し、それに aks を接続する
az aks connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --new
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
postgres データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
aks 接続の作成時に新しい postgres を作成するかどうかを示します。
プロパティ | 値 |
---|---|
規定値: | False |
指定可能な値: | false, true |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
postgres サーバーの名前。 '--target-id' が指定されていない場合は必須です。
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
postgres サービスを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create postgres-flexible
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
postgres フレキシブルへの aks 接続を作成します。
az aks connection create postgres-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と postgres の間の接続を対話形式で作成する
az aks connection create postgres-flexible
リソース名を使用して aks と postgres-flexible の間の接続を作成する
az aks connection create postgres-flexible -g ClusterRG -n MyCluster --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と postgres-flexible の間の接続を作成する
az aks connection create postgres-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
postgres フレキシブル データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
postgres フレキシブル サーバーの名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
フレキシブル postgres サービスを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create postgres-flexible (serviceconnector-passwordless 拡張機能)
postgres フレキシブルへの aks 接続を作成します。
az aks connection create postgres-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--new]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
[--yes]
例
aks と postgres の間の接続を対話形式で作成する
az aks connection create postgres-flexible
リソース名を使用して aks と postgres-flexible の間の接続を作成する
az aks connection create postgres-flexible -g ClusterRG -n MyCluster --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と postgres-flexible の間の接続を作成する
az aks connection create postgres-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
postgres フレキシブル データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
データベースに新しいユーザーを作成する前に、同じ名前の既存のユーザーを削除する。
プロパティ | 値 |
---|---|
規定値: | False |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: シークレットの 1 つである secret-uri、secret-name が必要です。 シークレット認証のパスワードまたはアカウント キー。secret-uri: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット URI。 secret-name: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
postgres フレキシブル サーバーの名前。 '--target-id' が指定されていない場合は必須です。
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
フレキシブル postgres サービスを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create redis
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
redis への aks 接続を作成します。
az aks connection create redis [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と redis の間の接続を対話形式で作成する
az aks connection create redis
リソース名を使用して aks と redis の間の接続を作成する
az aks connection create redis -g ClusterRG -n MyCluster --tg RedisRG --server MyServer --database MyDB --secret
リソース ID を使用して aks と redis の間の接続を作成する
az aks connection create redis --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redis/{server}/databases/{database} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
Redis データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
Redis サーバーの名前。 '--target-id' が指定されていない場合は必須です。
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
Redis サーバーを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create redis-enterprise
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
redis-enterprise への aks 接続を作成します。
az aks connection create redis-enterprise [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と redis-enterprise の間の接続を対話形式で作成する
az aks connection create redis-enterprise
リソース名を使用して aks と redis-enterprise の間の接続を作成する
az aks connection create redis-enterprise -g ClusterRG -n MyCluster --tg RedisRG --server MyServer --database MyDB --secret
リソース ID を使用して aks と redis-enterprise の間の接続を作成する
az aks connection create redis-enterprise --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redisEnterprise/{server}/databases/{database} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
Redis エンタープライズ データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
Redis エンタープライズ サーバーの名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
Redis サーバーを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create servicebus
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
servicebus への aks 接続を作成します。
az aks connection create servicebus [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--namespace]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と servicebus の間の接続を対話形式で作成する
az aks connection create servicebus
リソース名を使用して aks と servicebus の間の接続を作成する
az aks connection create servicebus -g ClusterRG -n MyCluster --tg ServicebusRG --namespace MyNamespace --secret
リソース ID を使用して aks と servicebus の間の接続を作成する
az aks connection create servicebus --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.ServiceBus/namespaces/{namespace} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
servicebus 名前空間の名前。 '--target-id' が指定されていない場合は必須です。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--namespace'] が指定されていない場合は必須です。
サービス バスを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create signalr
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
signalr への aks 接続を作成します。
az aks connection create signalr [--appconfig-id]
[--client-type {dotnet, dotnet-internal, none}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--signalr]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と signalr の間の接続を対話形式で作成する
az aks connection create signalr
リソース名を使用して aks と signalr の間の接続を作成する
az aks connection create signalr -g ClusterRG -n MyCluster --tg SignalrRG --signalr MySignalR --secret
リソース ID を使用して aks と signalr の間の接続を作成する
az aks connection create signalr --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/SignalR/{signalr} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, none |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
Signalr サービスの名前。 '--target-id' が指定されていない場合は必須です。
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--signalr'] が指定されていない場合は必須です。
シグナルを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create sql
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
sql への aks 接続を作成します。
az aks connection create sql [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と sql の間の接続を対話形式で作成する
az aks connection create sql
リソース名を使用して aks と sql の間の接続を作成する
az aks connection create sql -g ClusterRG -n MyCluster --tg SqlRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と sql の間の接続を作成する
az aks connection create sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Sql/servers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
SQL データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: <secret, secret-uri, secret-name>
のいずれかが必要です。 シークレット認証のパスワードまたはアカウント キー。secret-name: <secret, secret-uri, secret-name>
のいずれかが必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
SQL Server の名前。 '--target-id' が指定されていない場合は必須です。
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
SQL Server を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create sql (serviceconnector-passwordless 拡張機能)
sql への aks 接続を作成します。
az aks connection create sql [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--kube-namespace]
[--name]
[--new]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
[--yes]
例
aks と sql の間の接続を対話形式で作成する
az aks connection create sql
リソース名を使用して aks と sql の間の接続を作成する
az aks connection create sql -g ClusterRG -n MyCluster --tg SqlRG --server MyServer --database MyDB --secret name=XX secret=XX
リソース ID を使用して aks と sql の間の接続を作成する
az aks connection create sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Sql/servers/{server}/databases/{database} --secret name=XX secret=XX
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
SQL データベースの名前。 '--target-id' が指定されていない場合は必須です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
データベースに新しいユーザーを作成する前に、同じ名前の既存のユーザーを削除する。
プロパティ | 値 |
---|---|
規定値: | False |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
使用法: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX
name : 必須。 シークレット認証のユーザー名またはアカウント名。シークレット: シークレットの 1 つである secret-uri、secret-name が必要です。 シークレット認証のパスワードまたはアカウント キー。secret-uri: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット URI。 secret-name: シークレットの 1 つである secret-uri、secret-name が必要です。 パスワードを格納する Keyvault シークレット名。 これは AKS 専用です。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
SQL Server の名前。 '--target-id' が指定されていない場合は必須です。
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--server', '--database'] が指定されていない場合は必須です。
SQL Server を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
確認を求めないでください。
プロパティ | 値 |
---|---|
規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create storage-blob
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
ストレージ BLOB への aks 接続を作成します。
az aks connection create storage-blob [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と storage-BLOB の間の接続を対話形式で作成する
az aks connection create storage-blob
リソース名を使用して aks と storage-blob の間の接続を作成する
az aks connection create storage-blob -g ClusterRG -n MyCluster --tg StorageRG --account MyAccount --secret
リソース ID を使用して aks と storage-blob の間の接続を作成する
az aks connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/blobServices/default --secret
新しいストレージ BLOB を作成し、aks を対話形式で接続する
az aks connection create storage-blob --new
新しいストレージ BLOB を作成し、それに aks を接続する
az aks connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --new
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ストレージ アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
aks 接続の作成時に新しいストレージ BLOB を作成するかどうかを示します。
プロパティ | 値 |
---|---|
規定値: | False |
指定可能な値: | false, true |
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account'] が指定されていない場合は必須です。
ストレージ アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create storage-file
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
ストレージ ファイルへの aks 接続を作成します。
az aks connection create storage-file [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group --tg]
例
aks と storage-file の間の接続を対話形式で作成する
az aks connection create storage-file
リソース名を使用して aks と storage-file の間の接続を作成する
az aks connection create storage-file -g ClusterRG -n MyCluster --tg StorageRG --account MyAccount --secret
リソース ID を使用して aks と storage-file の間の接続を作成する
az aks connection create storage-file --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/fileServices/default --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ストレージ アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account'] が指定されていない場合は必須です。
ストレージ アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 aks connection create storage-queue
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
storage-queue への aks 接続を作成します。
az aks connection create storage-queue [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と storage-queue の間の接続を対話形式で作成する
az aks connection create storage-queue
リソース名を使用して aks と storage-queue の間の接続を作成する
az aks connection create storage-queue -g ClusterRG -n MyCluster --tg StorageRG --account MyAccount --secret
リソース ID を使用して aks と storage-queue の間の接続を作成する
az aks connection create storage-queue --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/queueServices/default --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ストレージ アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account'] が指定されていない場合は必須です。
ストレージ アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create storage-table
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
storage-table への aks 接続を作成します。
az aks connection create storage-table [--account]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--workload-identity]
例
aks と storage-table の間の接続を対話形式で作成する
az aks connection create storage-table
リソース名を使用して aks と storage-table の間の接続を作成する
az aks connection create storage-table -g ClusterRG -n MyCluster --tg StorageRG --account MyAccount --secret
リソース ID を使用して aks と storage-table の間の接続を作成する
az aks connection create storage-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/tableServices/default --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
ストレージ アカウントの名前。 '--target-id' が指定されていない場合は必須です。
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス エンドポイントでターゲット サービスを接続します。 ソース リソースは VNet に含まれている必要があり、ターゲット SKU はサービス エンドポイント機能をサポートする必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--account'] が指定されていない場合は必須です。
ストレージ アカウントを含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 aks connection create webpubsub
コマンド グループ 'aks connection' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
webpubsub への aks 接続を作成します。
az aks connection create webpubsub [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--source-id]
[--target-id]
[--target-resource-group --tg]
[--webpubsub]
[--workload-identity]
例
aks と webpubsub の間の接続を対話形式で作成する
az aks connection create webpubsub
リソース名を使用して aks と webpubsub の間の接続を作成する
az aks connection create webpubsub -g ClusterRG -n MyCluster --tg WebpubsubRG --webpubsub MyWebPubSub --secret
リソース ID を使用して aks と webpubsub の間の接続を作成する
az aks connection create webpubsub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.ContainerService/managedClusters/{cluster} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/WebPubSub/{webpubsub} --secret
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
構成を格納するアプリ構成 ID。
aks で使用されるクライアントの種類。
プロパティ | 値 |
---|---|
指定可能な値: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 接続の名前。
接続文字列の構築に使用される追加の接続文字列プロパティ。
既定の構成名を変更するために使用されるカスタマイズされたキー。 キーは元の名前、値はカスタマイズされた名前です。
接続情報が (kubernetes シークレットとして) 保存される kubernetes 名前空間。
プロパティ | 値 |
---|---|
規定値: | default |
マネージド クラスターの名前。 '--source-id' が指定されていない場合は必須です。何一つ。
実行時間の長い操作が完了するまで待つ必要はありません。
プロパティ | 値 |
---|---|
規定値: | False |
一部の構成手順を無効にするかどうか。 configinfo を使用して、ソースの構成情報の変更を調整します。 publicnetwork を使用して、パブリック ネットワーク アクセスの構成を無効にします。認証を使用して、マネージド ID の有効化や RBAC ロールの付与などの認証構成をスキップします。
プロパティ | 値 |
---|---|
指定可能な値: | auth, configinfo, publicnetwork |
プライベート エンドポイントでターゲット サービスを接続します。 ソース仮想ネットワーク内のプライベート エンドポイントを事前に作成する必要があります。
プロパティ | 値 |
---|---|
Parameter group: | NetworkSolution Arguments |
指定可能な値: | false, true |
マネージド クラスターを含むリソース グループ。 '--source-id' が指定されていない場合は必須です。何一つ。
シークレットの認証情報。
Usage: --secret.
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
サービス プリンシパルの認証情報。
使用法: --service-principal client-id=XX secret=XX
client-id : 必須。 サービス プリンシパルのクライアント ID。 object-id: 省略可能。 サービス プリンシパル (エンタープライズ アプリケーション) のオブジェクト ID。 secret : 必須。 サービス プリンシパルのシークレット。
プロパティ | 値 |
---|---|
Parameter group: | AuthType Arguments |
aks のリソース ID。 ['--resource-group', '--name'] が指定されていない場合は必須です。
ターゲット サービスのリソース ID。 ['--target-resource-group', '--webpubsub'] が指定されていない場合は必須です。
Webpubsub を含むリソース グループ。 '--target-id' が指定されていない場合は必須です。
webpubsub サービスの名前。 '--target-id' が指定されていない場合は必須です。
ワークロード ID フェデレーションの作成に使用されるユーザー割り当てマネージド ID。
使用法: --workload-identity <user-identity-resource-id>
user-identity-resource-id: Required. ユーザー割り当て ID のリソース ID。 フェデレーション ID 資格情報でサポートされていない AKS コントロール プレーン ID と kubelet ID を使用しないでください。
プロパティ | 値 |
---|---|
Parameter group: | AuthType 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 |