< Back
Set-AzureStorageCORSRule
Post
NAME Set-AzureStorageCORSRule
SYNTAX
Set-AzureStorageCORSRule [-ServiceType] {Blob | Table | Queue | File} -CorsRules <PSCorsRule[]> [-PassThru]
[-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 (All)
Aliases None
Dynamic? false
-CorsRules <PSCorsRule[]>
CorsRule instances to represent rules to be set.
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PassThru
Display ServiceProperties
Required? false
Position? Named
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
-ServiceType <StorageServiceType>
Azure storage service type(Blob, Table, Queue).
Required? true
Position? 0
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
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel.PSCorsRule
ALIASES
None
REMARKS
None
SYNTAX
Set-AzureStorageCORSRule [-ServiceType] {Blob | Table | Queue | File} -CorsRules <PSCorsRule[]> [-PassThru]
[-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 (All)
Aliases None
Dynamic? false
-CorsRules <PSCorsRule[]>
CorsRule instances to represent rules to be set.
Required? true
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-PassThru
Display ServiceProperties
Required? false
Position? Named
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
-ServiceType <StorageServiceType>
Azure storage service type(Blob, Table, Queue).
Required? true
Position? 0
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
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel.PSCorsRule
ALIASES
None
REMARKS
None