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

ICorsPolicy Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.CorsPolicyTypeConverter))]
public interface ICorsPolicy : Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.CorsPolicyTypeConverter))>]
type ICorsPolicy = interface
    interface IJsonSerializable
Public Interface ICorsPolicy
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AllowCredentials

Specifies whether the resource allows credentials

AllowedHeader

Specifies the content for the access-control-allow-headers header

AllowedMethod

Specifies the content for the access-control-allow-methods header

AllowedOrigin

Specifies the content for the access-control-allow-origins header

ExposeHeader

Specifies the content for the access-control-expose-headers header

MaxAge

Specifies the content for the access-control-max-age header

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to