az apim api release
Manage Azure API Management API Release.
Commands
Name | Description | Type | Status |
---|---|---|---|
az apim api release create |
Creates a new Release for the API. |
Core | GA |
az apim api release delete |
Deletes the specified release in the API. |
Core | GA |
az apim api release list |
Lists all releases of an API. |
Core | GA |
az apim api release show |
Returns the details of an API release. |
Core | GA |
az apim api release update |
Updates the details of the release of the API specified by its identifier. |
Core | GA |
az apim api release create
Creates a new Release for the API.
az apim api release create --api-id
--api-revision
--resource-group
--service-name
[--if-match]
[--notes]
[--release-id]
Examples
Creates a new Release for the API.
az apim api release create --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId --api-revision 2 --notes MyNotes
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.
API 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.
Optional Parameters
ETag of the Entity.
Release Notes.
Release identifier within an API. Must be unique in the current 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.
az apim api release delete
Deletes the specified release in the API.
az apim api release delete --api-id
--release-id
--resource-group
--service-name
[--if-match]
Examples
Deletes the specified release in the API.
az apim api release delete --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId
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.
Release identifier within an API. Must be unique in the current API Management service instance.
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
ETag of the Entity.
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 release list
Lists all releases of an API.
az apim api release list --api-id
--resource-group
--service-name
Examples
Lists all releases of an API.
az apim api release 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.
az apim api release show
Returns the details of an API release.
az apim api release show --api-id
--release-id
--resource-group
--service-name
Examples
Returns the details of an API release.
az apim api release show --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId
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.
Release identifier within an API. Must be unique in the current API Management service instance.
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.
az apim api release update
Updates the details of the release of the API specified by its identifier.
az apim api release update --api-id
--release-id
--resource-group
--service-name
[--add]
[--force-string]
[--if-match]
[--notes]
[--remove]
[--set]
Examples
Updates the notes of the release of the API specified by its identifier.
az apim api release update --resource-group MyResourceGroup --service-name MyServiceName --api-id MyApiId --release-id MyReleaseId --notes MyNewNotes
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.
Release identifier within an API. Must be unique in the current API Management service instance.
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
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>
.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
ETag of the Entity.
Release Notes.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
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.