az apic integration create
Note
This reference is part of the apic-extension extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az apic integration create command. Learn more about extensions.
Command group 'az apic integration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands
Name | Description | Type | Status |
---|---|---|---|
az apic integration create apim |
Add Azure APIM as an API source. |
Extension | Preview |
az apic integration create aws |
Add Amazon API Gateway as an API source. |
Extension | Preview |
az apic integration create apim
Command group 'az apic integration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add Azure APIM as an API source.
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}]
Examples
Add Azure APIM in the same resource group as the Azure API Center instance as an API source
az apic integration create apim -g contoso-resources -n contoso -i sync-from-my-apim --azure-apim myapim
Add Azure APIM in another resource group as an API source
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
Required Parameters
The name or resource id of the source APIM instance.
The name of the integration.
Name of Azure API Center resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure API Center service.
Optional Parameters
Indicates if the specification should be imported along with metadata.
The resource ID of the managed identity that has access to the API Management instance.
The target environment resource ID.
The target lifecycle stage.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az apic integration create aws
Command group 'az apic integration' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Add Amazon API Gateway as an API source.
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}]
Examples
Add Amazon API Gateway as an API source
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
Required Parameters
Amazon API Gateway Access Key. Must be an Azure Key Vault secret reference.
Amazon API Gateway Region (ex. us-east-2).
Amazon API Gateway Secret Access Key. Must be an Azure Key Vault secret reference.
The name of the integration.
Name of Azure API Center resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of Azure API Center service.
Optional Parameters
Indicates if the specification should be imported along with metadata.
The resource ID of the managed identity that has access to the Azure Key Vault.
The target environment resource ID.
The target lifecycle stage.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.