< Back
New-AzureStorageShareStoredAccessPolicy
Post
NAME New-AzureStorageShareStoredAccessPolicy
SYNTAX
New-AzureStorageShareStoredAccessPolicy [-ShareName] <string> [-Policy] <string> [-Permission <string>]
[-StartTime <datetime>] [-ExpiryTime <datetime>] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <int>]
[-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [<CommonParameters>]
PARAMETERS
-ClientTimeoutPerRequest <int>
The client side maximum execution time for each request in seconds.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ConcurrentTaskCount <int>
The total amount of concurrent async tasks. The default value is 10.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Context <IStorageContext>
Azure Storage Context Object
Required? false
Position? Named
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ShareName
Aliases None
Dynamic? false
-ExpiryTime <datetime>
Expiry Time
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Permission <string>
Permissions for a share. Permissions can be any subset of "rwdl".
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Policy <string>
Policy Identifier. Need to be unique in the Share
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ServerTimeoutPerRequest <int>
The server time out for each request in seconds.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ShareName <string>
Share name
Required? true
Position? 0
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ShareName
Aliases N, Name
Dynamic? false
-StartTime <datetime>
Start Time
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
System.String
ALIASES
None
REMARKS
None
SYNTAX
New-AzureStorageShareStoredAccessPolicy [-ShareName] <string> [-Policy] <string> [-Permission <string>]
[-StartTime <datetime>] [-ExpiryTime <datetime>] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <int>]
[-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [<CommonParameters>]
PARAMETERS
-ClientTimeoutPerRequest <int>
The client side maximum execution time for each request in seconds.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ConcurrentTaskCount <int>
The total amount of concurrent async tasks. The default value is 10.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Context <IStorageContext>
Azure Storage Context Object
Required? false
Position? Named
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ShareName
Aliases None
Dynamic? false
-ExpiryTime <datetime>
Expiry Time
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Permission <string>
Permissions for a share. Permissions can be any subset of "rwdl".
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Policy <string>
Policy Identifier. Need to be unique in the Share
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ServerTimeoutPerRequest <int>
The server time out for each request in seconds.
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-ShareName <string>
Share name
Required? true
Position? 0
Accept pipeline input? true (ByValue, ByPropertyName)
Parameter set name ShareName
Aliases N, Name
Dynamic? false
-StartTime <datetime>
Start Time
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
System.String
ALIASES
None
REMARKS
None