< Back
Set-AzureStorageTableStoredAccessPolicy
Post
NAME Set-AzureStorageTableStoredAccessPolicy
SYNOPSIS
Sets the stored access policy for an Azure storage table.
SYNTAX
Set-AzureStorageTableStoredAccessPolicy [-Table] <String> [-Policy] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-NoExpiryTime]
[-NoStartTime] [-Permission <String>] [-StartTime <DateTime>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Set-AzureStorageTableStoredAccessPolicy cmdlet set the stored access policy for an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies an 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
-ExpiryTime <DateTime>
Specifies the time at which the stored access policy expires.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoExpiryTime [<SwitchParameter>]
Indicates that the access policy has no expiration date.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-NoStartTime [<SwitchParameter>]
Indicates that the start time is set to $Null.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Permission <String>
Specifies permissions in the stored access policy to access the storage table.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies the name for the stored access policy.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Specifies the time at which the stored access policy becomes valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
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
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
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
System.String
NOTES
Example 1: Set a stored access policy in table with full permission
PS C:\\>Set-AzureStorageTableStoredAccessPolicy -Table "MyTable" -Policy "Policy08" -Permission raud
This command sets an access policy named Policy08 for storage table named MyTable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
Get-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext
New-AzureStorageTableStoredAccessPolicy
Remove-AzureStorageTableStoredAccessPolicy
SYNOPSIS
Sets the stored access policy for an Azure storage table.
SYNTAX
Set-AzureStorageTableStoredAccessPolicy [-Table] <String> [-Policy] <String> [-Context <IStorageContext>] [-ExpiryTime <DateTime>] [-NoExpiryTime]
[-NoStartTime] [-Permission <String>] [-StartTime <DateTime>] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Set-AzureStorageTableStoredAccessPolicy cmdlet set the stored access policy for an Azure storage table.
PARAMETERS
-Context <IStorageContext>
Specifies an 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
-ExpiryTime <DateTime>
Specifies the time at which the stored access policy expires.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NoExpiryTime [<SwitchParameter>]
Indicates that the access policy has no expiration date.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-NoStartTime [<SwitchParameter>]
Indicates that the start time is set to $Null.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-Permission <String>
Specifies permissions in the stored access policy to access the storage table.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Policy <String>
Specifies the name for the stored access policy.
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-StartTime <DateTime>
Specifies the time at which the stored access policy becomes valid.
Required? false
Position? named
Default value None
Accept pipeline input? False
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
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
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
System.String
NOTES
Example 1: Set a stored access policy in table with full permission
PS C:\\>Set-AzureStorageTableStoredAccessPolicy -Table "MyTable" -Policy "Policy08" -Permission raud
This command sets an access policy named Policy08 for storage table named MyTable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... cesspolicy
Get-AzureStorageTableStoredAccessPolicy
New-AzureStorageContext
New-AzureStorageTableStoredAccessPolicy
Remove-AzureStorageTableStoredAccessPolicy