< Back
Get-AzureStorageTableStoredAccessPolicy
Post
NAME Get-AzureStorageTableStoredAccessPolicy
SYNOPSIS
Gets the stored access policy or policies for an Azure storage table.
SYNTAX
Get-AzureStorageTableStoredAccessPolicy [-Table] <String> [[-Policy] <String>] [-Context <IStorageContext>] [<CommonParameters>]
DESCRIPTION
The Get-AzureStorageTableStoredAccessPolicy cmdlet lists the stored access policy or policies for an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies the Azure storage context. To obtain a storage context, use the New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Policy <String>
Specifies a stored access policy, which includes the permissions for this Shared Access Signature (SAS) token.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Table <String>
Specifies the Azure storage table name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
String
Parameter 'Table' accepts value of type 'String' from the pipeline
OUTPUTS
Microsoft.WindowsAzure.Storage.Table.SharedAccessTablePolicy
NOTES
Example 1: Get a stored access policy in a storage table
PS C:\\>Get-AzureStorageTableStoredAccessPolicy -Table "Table02" -Policy "Policy50"
This command gets the access policy named Policy50 in the storage table named Table02.
Example 2: Get all stored access policies in a storage table
PS C:\\>Get-AzureStorageTableStoredAccessPolicy -Table "Table02"
This command gets all access policies in the table named Table02.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
New-AzureStorageTableStoredAccessPolicy
Remove-AzureStorageTableStoredAccessPolicy
Set-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext
SYNOPSIS
Gets the stored access policy or policies for an Azure storage table.
SYNTAX
Get-AzureStorageTableStoredAccessPolicy [-Table] <String> [[-Policy] <String>] [-Context <IStorageContext>] [<CommonParameters>]
DESCRIPTION
The Get-AzureStorageTableStoredAccessPolicy cmdlet lists the stored access policy or policies for an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies the Azure storage context. To obtain a storage context, use the New-AzureStorageContext cmdlet.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
-Policy <String>
Specifies a stored access policy, which includes the permissions for this Shared Access Signature (SAS) token.
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Table <String>
Specifies the Azure storage table name.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IStorageContext
Parameter 'Context' accepts value of type 'IStorageContext' from the pipeline
String
Parameter 'Table' accepts value of type 'String' from the pipeline
OUTPUTS
Microsoft.WindowsAzure.Storage.Table.SharedAccessTablePolicy
NOTES
Example 1: Get a stored access policy in a storage table
PS C:\\>Get-AzureStorageTableStoredAccessPolicy -Table "Table02" -Policy "Policy50"
This command gets the access policy named Policy50 in the storage table named Table02.
Example 2: Get all stored access policies in a storage table
PS C:\\>Get-AzureStorageTableStoredAccessPolicy -Table "Table02"
This command gets all access policies in the table named Table02.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
New-AzureStorageTableStoredAccessPolicy
Remove-AzureStorageTableStoredAccessPolicy
Set-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext