az devops service-endpoint azurerm
Note
This reference is part of the azure-devops extension for the Azure CLI (version 2.30.0 or higher). 拡張機能は、az devops service-endpoint azurerm コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.
Azure RM サービス エンドポイント/接続を管理します。
コマンド
名前 | 説明 | 型 | 状態 |
---|---|---|---|
az devops service-endpoint azurerm create |
Azure RM タイプのサービス エンドポイントを作成します。 |
Extension | GA |
az devops service-endpoint azurerm create
Azure RM タイプのサービス エンドポイントを作成します。
自動化の場合は、サービス プリンシパルのパスワード/シークレットAZURE_DEVOPS_EXT_AZURE_RM_SERVICE_PRINCIPAL_KEY環境変数に設定します。 詳細については、https://aka.ms/azure-devops-cli-azurerm-service-endpointを参照してください。
az devops service-endpoint azurerm create --azure-rm-service-principal-id
--azure-rm-subscription-id
--azure-rm-subscription-name
--azure-rm-tenant-id
--name
[--azure-rm-service-principal-certificate-path]
[--detect {false, true}]
[--org --organization]
[--project]
必須のパラメーター
Azure rm サービス エンドポイントを作成するためのサービス プリンシパル ID。
Azure rm サービス エンドポイントのサブスクリプション ID。
Azure rm サービス エンドポイントの Azure サブスクリプションの名前。
Azure rm サービス エンドポイントを作成するためのテナント ID。
作成するサービス エンドポイントの名前。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
証明書である (.pem) へのパス。 "openssl pkcs12 -in file.pfx -out file.pem -nodes -password pass:password_here" コマンドを使用して作成します。 詳細: https://aka.ms/azure-devops-cli-azurerm-service-endpoint.
組織を自動的に検出します。
プロパティ | 値 |
---|---|
指定可能な値: | false, true |
Azure DevOps organization URL。 az devops configure -d organization=ORG_URL を使用して、既定の組織を構成できます。 既定として構成されていない場合、または git 構成を使用して取得された場合は必須です。例: https://dev.azure.com/MyOrganizationName/
.
プロジェクトの名前または ID。 az devops configure -d project=NAME_OR_ID を使用して、既定のプロジェクトを構成できます。 既定として構成されていない場合、または git config を使って取得されていない場合は必須です。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
プロパティ | 値 |
---|---|
規定値: | 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 |