Description | : Sets properties for a storage account's Blob service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules |
Reference | : Link ¶ |
⚼ Request
PUT:
/?restype=service&comp=properties
{
StorageServiceProperties:
{
,
Logging:
{
,
Version:
string
,
Delete:
boolean
,
Read:
boolean
,
Write:
boolean
,
RetentionPolicy:
}
{
,
Enabled:
boolean
,
Days:
integer
,
AllowPermanentDelete:
boolean
,
}
HourMetrics:
{
,
Version:
string
,
Enabled:
boolean
,
IncludeAPIs:
boolean
,
RetentionPolicy:
}
{
,
Enabled:
boolean
,
Days:
integer
,
AllowPermanentDelete:
boolean
,
}
MinuteMetrics:
{
,
Version:
string
,
Enabled:
boolean
,
IncludeAPIs:
boolean
,
RetentionPolicy:
}
{
,
Enabled:
boolean
,
Days:
integer
,
AllowPermanentDelete:
boolean
,
}
Cors:
[
]
,
{
,
AllowedOrigins:
string
,
AllowedMethods:
string
,
AllowedHeaders:
string
,
ExposedHeaders:
string
,
MaxAgeInSeconds:
integer
,
}
DefaultServiceVersion:
string
,
DeleteRetentionPolicy:
{
,
Enabled:
boolean
,
Days:
integer
,
AllowPermanentDelete:
boolean
,
}
StaticWebsite:
}
{
,
Enabled:
boolean
,
IndexDocument:
string
,
ErrorDocument404Path:
string
,
DefaultIndexDocumentPath:
string
,
}
timeout:
integer
,
x-ms-version:
string
,
x-ms-client-request-id:
string
,
}
⚐ Response (202)
{
x-ms-client-request-id:
string
,
x-ms-request-id:
string
,
x-ms-version:
string
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
Message:
string
,
}