Restore-​Azure​Rm​Api​Management

Restores an API Management Service from the specified Azure storage blob.

Syntax

Restore-AzureRmApiManagement
       [-StorageContext] <AzureStorageContext>
       -Name <String>
       [-PassThru]
       -ResourceGroupName <String>
       -SourceBlobName <String>
       -SourceContainerName <String>
       [<CommonParameters>]

Description

The Restore-AzureRmApiManagement cmdlet restores an API Management Service from the specified backup residing in an Azurestorage blob.

Examples

Example 1: Restore an API Management service

PS C:\>Restore-AzureRmApiManagement -ResourceGroupName "ContosoGroup" -Name "RestoredContosoApi" -StorageContext $StorageContext -SourceContainerName "ContosoBackups" -SourceBlobName "ContosoBackup.apimbackup"

This command restores an API Management service from Azure storage blob.

Required Parameters

-Name

Specifies the name of the API Management instance that will be restored with the backup.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of resource group under which API Management exists.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SourceBlobName

Specifies the name of the Azure storage backup source blob.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-SourceContainerName

Specifies the name of the Azure storage backup source container.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-StorageContext

Specifies the storage connection context.

Type:AzureStorageContext
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False