Description | : Sets properties for a storage account's File service endpoint, including properties for Storage Analytics metrics and CORS (Cross-Origin Resource Sharing) rules. |
Reference | : Link ¶ |
⚼ Request
PUT:
/?restype=service&comp=properties
{
StorageServiceProperties:
{
,
HourMetrics:
{
,
Version:
string
,
Enabled:
boolean
,
IncludeAPIs:
boolean
,
RetentionPolicy:
}
{
,
Enabled:
boolean
,
Days:
integer
,
}
MinuteMetrics:
{
,
Version:
string
,
Enabled:
boolean
,
IncludeAPIs:
boolean
,
RetentionPolicy:
}
{
,
Enabled:
boolean
,
Days:
integer
,
}
Cors:
[
]
,
{
,
AllowedOrigins:
string
,
AllowedMethods:
string
,
AllowedHeaders:
string
,
ExposedHeaders:
string
,
MaxAgeInSeconds:
integer
,
}
Protocol:
}
{
,
Smb:
}
{
,
Multichannel:
}
{
,
Enabled:
boolean
,
}
timeout:
integer
,
x-ms-version:
string
,
x-ms-file-request-intent:
string
,
}
⚐ Response (202)
{
x-ms-request-id:
string
,
x-ms-version:
string
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
Message:
string
,
AuthenticationErrorDetail:
string
,
}