az apim api revision
Manage Azure API Management API Revision.
Commands
Name | Description | Type | Status |
---|---|---|---|
az apim api revision create |
Create API revision. |
Core | GA |
az apim api revision list |
Lists all revisions of an API. |
Core | GA |
az apim api revision create
Create API revision.
az apim api revision create --api-id
--api-revision
--resource-group
--service-name
[--api-revision-description]
Examples
Create a revision for the specfic API.
az apim api revision create --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --api-revision RevisionNumber --api-revision-description RevisionDescription
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
Describes the Revision of the Api.
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
Description of the Api Revision.
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 apim api revision list
Lists all revisions of an API.
az apim api revision list --api-id
--resource-group
--service-name
Examples
Lists all revisions of an API.
az apim api revision list --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId
Required Parameters
API identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
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.
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.
Azure CLI