< Back

Set-AzureFileServiceShareAcl

Sat Jan 11, 2020 5:01 am

NAME Set-AzureFileServiceShareAcl



SYNOPSIS

Set the public access control for a blob container





SYNTAX

Set-AzureFileServiceShareAcl [-StorageAccountName] <String> [-ShareName] <String> [-Acl] <String> [-AclId]

<String> [[-Start] <DateTime>] [[-Expiry] <DateTime>] [[-StorageAccountDomain] <String>] [-AccessLevel] <String>

[-AccessKey] <String> [-UseHttp] [[-ApiVersion] <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-StorageAccountName <String>

The storage account name



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ShareName <String>

The name of the share



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Acl <String>

The acl to be applied



Required? true

Position? 3

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-AclId <String>



Required? true

Position? 4

Default value [Convert]::ToBase64String(([Guid]::NewGuid()).ToByteArray())

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Start <DateTime>



Required? false

Position? 5

Default value [DateTime]::UtcNow

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Expiry <DateTime>



Required? false

Position? 6

Default value ($Start.AddDays(365))

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-StorageAccountDomain <String>

The FQDN for the storage account service



Required? false

Position? 7

Default value file.core.windows.net

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-AccessLevel <String>

The public access level for the container



Required? true

Position? 8

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-AccessKey <String>

The storage service access key



Required? true

Position? 9

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-UseHttp [<SwitchParameter>]

Use Insecure requests



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

The version of the BLOB service API



Required? false

Position? 10

Default value 2016-05-31

Accept pipeline input? true (ByPropertyName)

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS