external help file | Module Name | ms.assetid | online version | schema |
---|---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.Storage.dll-Help.xml |
Az.Storage |
F1EC601C-3ADD-402A-A5F7-84A95D312187 |
2.0.0 |
Gets the stored access policy or policies for an Azure storage queue.
Get-AzStorageQueueStoredAccessPolicy [-Queue] <String> [[-Policy] <String>] [-Context <IStorageContext>]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
The Get-AzStorageQueueStoredAccessPolicy cmdlet lists the stored access policy or policies for an Azure storage queue.
Get-AzStorageQueueStoredAccessPolicy -Queue "MyQueue" -Policy "Policy12"
This command gets the access policy named Policy12 in the storage queue named MyQueue.
Get-AzStorageQueueStoredAccessPolicy -Queue "MyQueue"
This command gets all stored access policies in the queue named MyQueue.
Specifies the Azure storage context. To obtain a storage context, use the New-AzStorageContext cmdlet.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a stored access policy, which includes the permissions for this Shared Access Signature (SAS) token.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the Azure storage queue name.
Type: System.String
Parameter Sets: (All)
Aliases: N, Name
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
New-AzStorageQueueStoredAccessPolicy
Remove-AzStorageQueueStoredAccessPolicy