Export (0) Print
Expand All
Expand Minimize

New-AzureStorageQueueSASToken

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

New-AzureStorageQueueSASToken

Generate a shared access signature token for an Azure storage queue.

Syntax

Parameter Set: SasPermission
New-AzureStorageQueueSASToken [-Name] <String> [-Context <AzureStorageContext> ] [-ExpiryTime <DateTime> ] [-FullUri] [-Permission <String> ] [-StartTime <DateTime> ] [ <CommonParameters>]

Parameter Set: SasPolicy
New-AzureStorageQueueSASToken [-Name] <String> [-Context <AzureStorageContext> ] [-ExpiryTime <DateTime> ] [-FullUri] [-Policy <String> ] [-StartTime <DateTime> ] [ <CommonParameters>]




Detailed Description

Generate shared access signature token for an Azure storage queue.

This topic describes the cmdlet in the 0.8.1 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version.

Parameters

-Context<AzureStorageContext>

Specifies the Azure storage context.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ExpiryTime<DateTime>

Specifies when the shared access signature is no longer valid.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FullUri

Returns the full queue URI with the SAS token.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Azure storage queue name.


Aliases

N,Queue

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Permission<String>

Specifies permissions for a storage queue.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Policy<String>

Azure stored access policy.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StartTime<DateTime>

Specifies when the shared access signature becomes valid.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example

This example generates a queue SAS token with full permission.


C:\PS>New-AzureStorageQueueSASToken -Name test -Permission raup

Show:
© 2014 Microsoft