Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzureStorageContainerAcl

Set-AzureStorageContainerAcl

microsoft.windowsazure.commands.storage.dll

Synopsis

Set the public access permission to the specified azure storage container.

Syntax

Set-AzureStorageContainerAcl [-Name] [-Permission] [-PassThru] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [<CommonParameters>]

Detailed Description

Set the public access permission to the specified azure storage container.

Parameters

-Name <String>

Container name.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

-Permission <BlobContainerPublicAccessType>

Container public access permission (Off/Blob/Container).

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PassThru <SwitchParameter>

Output the sepcified container.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Context <AzureStorageContext>

Azure Storage Context. You can create it by New-AzureStorageContext cmdlet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ServerTimeoutPerRequest <Nullable`1[Int32]>

Server side time out for each request.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ClientTimeoutPerRequest <Nullable`1[Int32]>

Client side time out for each request.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ConcurrentTaskCount <Nullable`1[Int32]>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PipelineVariable <string>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Set azure storage container acl by name. --------------------------

PS C:\> Set-AzureStorageContainerAcl -Container container1 -Permission off -PassThru

-------------------------- Set azure storage container acl using pipeline by GetAzureStorageContainer --------------------------

PS C:\> Get-AzureStorageContainer container* | Set-AzureStorageContainerAcl -Permission blob -PassThru

Get-AzureStorageContainerAcl
Get-AzureStorageContainer
New-AzureStorageContainer
Remove-AzureStorageContainer