Share via


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

Experimental Preview Deprecated

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-id
Experimental Preview Deprecated

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.

--api-revision
Experimental Preview Deprecated

Describes the Revision of the Api.

--resource-group -g
Experimental Preview Deprecated

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service-name -n
Experimental Preview Deprecated

The name of the API Management service instance.

Optional Parameters

--api-revision-description --rev-description
Experimental Preview Deprecated

Description of the Api Revision.

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az apim api revision list

Experimental Preview Deprecated

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-id
Experimental Preview Deprecated

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.

--resource-group -g
Experimental Preview Deprecated

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service-name -n
Experimental Preview Deprecated

The name of the API Management service instance.

Optional Parameters

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.