你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ICorsSettings Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.CorsSettingsTypeConverter))]
public interface ICorsSettings : Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.CorsSettingsTypeConverter))>]
type ICorsSettings = interface
interface IJsonSerializable
Public Interface ICorsSettings
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
AllowedOrigin |
Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. |
SupportCredentials |
Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |