Skip to content

Commit 76e4313

Browse files
authored
container name not supported with upper case (Azure#20012)
TargetContainerName - This name may only contain lowercase letters, numbers, and hyphens, and must begin with a letter or a number. Each hyphen must be preceded and followed by a non-hyphen character. The name must also be between 3 and 63 characters long. the command "Backup-AzApiManagement" fails if TargetContainerName has value in upper case
1 parent eed22af commit 76e4313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiManagement/ApiManagement/help/Backup-AzApiManagement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This cmdlet stores the backup as an Azure Storage blob.
3333
New-AzStorageAccount -StorageAccountName "ContosoStorage" -Location $location -ResourceGroupName "ContosoGroup02" -Type Standard_LRS
3434
$storageKey = (Get-AzStorageAccountKey -ResourceGroupName "ContosoGroup02" -StorageAccountName "ContosoStorage")[0].Value
3535
$storageContext = New-AzStorageContext -StorageAccountName "ContosoStorage" -StorageAccountKey $storageKey
36-
Backup-AzApiManagement -ResourceGroupName "ContosoGroup02" -Name "ContosoApi" -StorageContext $StorageContext -TargetContainerName "ContosoBackups" -TargetBlobName "ContosoBackup.apimbackup"
36+
Backup-AzApiManagement -ResourceGroupName "ContosoGroup02" -Name "ContosoApi" -StorageContext $StorageContext -TargetContainerName "contosobackups" -TargetBlobName "contosobackups.apimbackup"
3737
```
3838

3939
### Example 2: Back up using Managed Identity

0 commit comments

Comments
 (0)