Condividi tramite


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