Share via


CorsRules Class

Definition

Sets the CORS rules. You can include up to five CorsRule elements in the request.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.CorsRulesTypeConverter))]
public class CorsRules : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ICorsRules
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.CorsRulesTypeConverter))>]
type CorsRules = class
    interface ICorsRules
    interface IJsonSerializable
Public Class CorsRules
Implements ICorsRules
Inheritance
CorsRules
Attributes
Implements

Constructors

CorsRules()

Creates an new CorsRules instance.

Properties

CorsRule

The List of CORS rules. You can include up to five CorsRule elements in the request.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CorsRules.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CorsRules.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ICorsRules.

FromJsonString(String)

Creates a new instance of CorsRules, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CorsRules into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to