az apim deletedservice

Manage soft-deleted Azure API Management services.

Commands

az apim deletedservice list

List all soft-deleted Api Management services instances available for undelete for the given subscription.

az apim deletedservice purge

Purge soft-deleted Api Management service instance (deletes it with no option to undelete).

az apim deletedservice show

Get soft-deleted Api Management service instances available for undelete by name.

az apim deletedservice list

List all soft-deleted Api Management services instances available for undelete for the given subscription.

az apim deletedservice list

Examples

List all soft-deleted services in a subscription.

az apim deletedservice list

az apim deletedservice purge

Purge soft-deleted Api Management service instance (deletes it with no option to undelete).

az apim deletedservice purge --location
                             --service-name

Examples

Purge a soft-deleted serivce.

az apim deletedservice purge --service-name MyApim --location westus

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--service-name -n

The name of the soft deleted API Management service instance.

az apim deletedservice show

Get soft-deleted Api Management service instances available for undelete by name.

az apim deletedservice show --location
                            --service-name

Examples

Get a soft-deleted services with its name.

az apim deletedservice show --service-name MyApim --location westus

Required Parameters

--location -l

Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.

--service-name -n

The name of the soft deleted API Management service instance.