Partager via


ICorsSettings Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.CorsSettingsTypeConverter))]
public interface ICorsSettings : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.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)

Applies to