次の方法で共有


ICorsRule Interface

Definition

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

Properties

AllowedHeader

Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.

AllowedMethod

Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.

AllowedOrigin

Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains

ExposedHeader

Required if CorsRule element is present. A list of response headers to expose to CORS clients.

MaxAgeInSecond

Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to