az apim backend
Manage Azure API Management Backends.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az apim backend create |
Create or Update an API Management Backend. |
Core | GA |
| az apim backend delete |
Delete an API Management Backend. |
Core | GA |
| az apim backend list |
List API Management Backends. |
Core | GA |
| az apim backend show |
Show details of an API Management Backend. |
Core | GA |
| az apim backend update |
Update an API Management Backend. |
Core | GA |
az apim backend create
Create or Update an API Management Backend.
az apim backend create --backend-id
--protocol {http, soap}
--resource-group
--service-name
--url
[--acquire-policy-token]
[--change-reference]
[--description]
[--if-match]
Examples
Create a Backend.
az apim backend create --service-name MyApim -g MyResourceGroup --backend-id MyBackendId --url https://mybackend.com --protocol http
Required Parameters
Unique name for the Backend to be created or updated.
Must be unique in the current API Management service instance.
| Property | Value |
|---|---|
| Parameter group: | Backend Arguments |
The protocol used to communicate with the backend service.
| Property | Value |
|---|---|
| Accepted values: | http, soap |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
The URL of the backend service.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Description of the Backend. May include HTML formatting tags.
ETag of the Entity.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apim backend delete
Delete an API Management Backend.
az apim backend delete --backend-id
--resource-group
--service-name
[--acquire-policy-token]
[--change-reference]
[--if-match]
[--yes]
Examples
Delete a Backend in an APIM instance.
az apim backend delete --resource-group MyResourceGroup --service-name MyServiceName --backend-id MyBackendId
Required Parameters
Identifier of the Backend.
| Property | Value |
|---|---|
| Parameter group: | Backend Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
ETag of the Entity.
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apim backend list
List API Management Backends.
az apim backend list --resource-group
--service-name
Examples
List all Backends in an APIM instance.
az apim backend list --resource-group MyResourceGroup --service-name MyServiceName
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apim backend show
Show details of an API Management Backend.
az apim backend show --backend-id
--resource-group
--service-name
Examples
Show details of a Backend in an APIM instance.
az apim backend show --resource-group MyResourceGroup --service-name MyServiceName --backend-id MyBackendId
Required Parameters
Identifier of the Backend.
| Property | Value |
|---|---|
| Parameter group: | Backend Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az apim backend update
Update an API Management Backend.
az apim backend update --backend-id
--resource-group
--service-name
[--acquire-policy-token]
[--add]
[--change-reference]
[--description]
[--force-string]
[--if-match]
[--protocol {http, soap}]
[--remove]
[--set]
[--url]
Examples
Update a Backend.
az apim backend update --service-name MyApim -g MyResourceGroup --backend-id MyBackendId --url https://mynewbackend.com
Required Parameters
Unique name of the Backend to be updated.
Must be unique in the current API Management service instance.
| Property | Value |
|---|---|
| Parameter group: | Backend Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The name of the API Management service instance.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Description of the Backend. May include HTML formatting tags.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | False |
ETag of the Entity. Not required when creating an entity, but required when updating an entity. Default value is None.
Protocol used to communicate with the backend service. Possible values include: http, soap.
| Property | Value |
|---|---|
| Accepted values: | http, soap |
Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.
| Property | Value |
|---|---|
| Parameter group: | Generic Update Arguments |
| Default value: | [] |
Backend service URL.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |