你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceCorsConfigurationInfo interface

The settings for the CORS configuration of the service instance.

Properties

allowCredentials

If credentials are allowed via CORS.

headers

The headers to be allowed via CORS.

maxAge

The max age to be allowed via CORS.

methods

The methods to be allowed via CORS.

origins

The origins to be allowed via CORS.

Property Details

allowCredentials

If credentials are allowed via CORS.

allowCredentials?: boolean

Property Value

boolean

headers

The headers to be allowed via CORS.

headers?: string[]

Property Value

string[]

maxAge

The max age to be allowed via CORS.

maxAge?: number

Property Value

number

methods

The methods to be allowed via CORS.

methods?: string[]

Property Value

string[]

origins

The origins to be allowed via CORS.

origins?: string[]

Property Value

string[]