次の方法で共有


az apic integration create

Note

This reference is part of the apic-extension extension for the Azure CLI (version 2.57.0 or higher). 拡張機能は、az apic integration create コマンドを初めて実行するときに自動的にインストールされます。 Learn more about extensions.

コマンド グループ 'az apic integration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

コマンド

名前 説明 状態
az apic integration create apim

API ソースとして Azure APIM を追加します。

Extension Preview
az apic integration create aws

API ソースとして Amazon API Gateway を追加します。

Extension Preview

az apic integration create apim

プレビュー

コマンド グループ 'az apic integration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

API ソースとして Azure APIM を追加します。

az apic integration create apim --azure-apim
                                --integration-name
                                --resource-group
                                --service-name
                                [--import-specification {always, never, ondemand}]
                                [--msi-resource-id]
                                [--target-environment-id]
                                [--target-lifecycle-stage {deprecated, design, development, preview, production, retired, testing}]

Azure API Center インスタンスと同じリソース グループに API ソースとして Azure APIM を追加する

az apic integration create apim -g contoso-resources -n contoso -i sync-from-my-apim --azure-apim myapim

別のリソース グループに API ソースとして Azure APIM を追加する

az apic integration create apim -g contoso-resources -n contoso -i sync-from-my-apim --azure-apim /subscriptions/12345678-1234-1234-1234-123456789abc/resourceGroups/samplegroup/providers/Microsoft.ApiManagement/service/sampleapim

必須のパラメーター

--azure-apim

ソース APIM インスタンスの名前またはリソース ID。

プロパティ
Parameter group: AzureApiManagementSource Arguments
--integration-name -i

統合の名前。

--resource-group -g

Azure API Center リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--service-name -n

Azure API Center サービスの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--import-specification

メタデータと共に仕様をインポートする必要があるかどうかを示します。

プロパティ
Parameter group: Properties Arguments
規定値: always
指定可能な値: always, never, ondemand
--msi-resource-id

API Management インスタンスにアクセスできるマネージド ID のリソース ID。

プロパティ
Parameter group: AzureApiManagementSource Arguments
--target-environment-id

ターゲット環境のリソース ID。

プロパティ
Parameter group: Properties Arguments
--target-lifecycle-stage

ターゲット ライフサイクル ステージ。

プロパティ
Parameter group: Properties Arguments
指定可能な値: deprecated, design, development, preview, production, retired, testing
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az apic integration create aws

プレビュー

コマンド グループ 'az apic integration' はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus

API ソースとして Amazon API Gateway を追加します。

az apic integration create aws --aws-access-key-reference
                               --aws-region-name
                               --aws-secret-access-key-reference
                               --integration-name
                               --resource-group
                               --service-name
                               [--import-specification {always, never, ondemand}]
                               [--msi-resource-id]
                               [--target-environment-id]
                               [--target-lifecycle-stage {deprecated, design, development, preview, production, retired, testing}]

API ソースとして Amazon API Gateway を追加する

az apic integration create aws -g contoso-resources -n contoso -i sync-from-my-amazon-api-gateway -a https://{keyvaultName}.vault.azure.net/secrets/{secretName1} -s https://{keyvaultName}.vault.azure.net/secrets/{secretName2} -r us-east-2

必須のパラメーター

--aws-access-key-reference -a

Amazon API Gateway アクセス キー。 Azure Key Vault シークレット参照である必要があります。

プロパティ
Parameter group: AmazonApiGatewaySource Arguments
--aws-region-name -r

Amazon API ゲートウェイリージョン (us-east-2 など)。

プロパティ
Parameter group: AmazonApiGatewaySource Arguments
--aws-secret-access-key-reference -s

Amazon API Gateway シークレット アクセス キー。 Azure Key Vault シークレット参照である必要があります。

プロパティ
Parameter group: AmazonApiGatewaySource Arguments
--integration-name -i

統合の名前。

--resource-group -g

Azure API Center リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--service-name -n

Azure API Center サービスの名前。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--import-specification

メタデータと共に仕様をインポートする必要があるかどうかを示します。

プロパティ
Parameter group: Properties Arguments
規定値: always
指定可能な値: always, never, ondemand
--msi-resource-id

Azure Key Vault にアクセスできるマネージド ID のリソース ID。

プロパティ
Parameter group: AmazonApiGatewaySource Arguments
--target-environment-id

ターゲット環境のリソース ID。

プロパティ
Parameter group: Properties Arguments
--target-lifecycle-stage

ターゲット ライフサイクル ステージ。

プロパティ
Parameter group: Properties Arguments
指定可能な値: deprecated, design, development, preview, production, retired, testing
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

プロパティ
規定値: False
--output -o

Output format.

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False