AppPlatformGatewayCorsProperties Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cross-Origin Resource Sharing property.
public class AppPlatformGatewayCorsProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayCorsProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppPlatform.Models.AppPlatformGatewayCorsProperties>
public class AppPlatformGatewayCorsProperties
type AppPlatformGatewayCorsProperties = class
interface IJsonModel<AppPlatformGatewayCorsProperties>
interface IPersistableModel<AppPlatformGatewayCorsProperties>
type AppPlatformGatewayCorsProperties = class
Public Class AppPlatformGatewayCorsProperties
Implements IJsonModel(Of AppPlatformGatewayCorsProperties), IPersistableModel(Of AppPlatformGatewayCorsProperties)
Public Class AppPlatformGatewayCorsProperties
- Inheritance
-
AppPlatformGatewayCorsProperties
- Implements
Constructors
AppPlatformGatewayCorsProperties() |
Initializes a new instance of AppPlatformGatewayCorsProperties. |
Properties
AllowedHeaders |
Allowed headers in cross-site requests. The special value |
AllowedMethods |
Allowed HTTP methods on cross-site requests. The special value |
AllowedOrigins |
Allowed origins to make cross-site requests. The special value |
AreCredentialsAllowed |
Whether user credentials are supported on cross-site requests. Valid values: |
ExposedHeaders |
HTTP response headers to expose for cross-site requests. |
MaxAge |
How long, in seconds, the response from a pre-flight request can be cached by clients. |
Explicit Interface Implementations
IJsonModel<AppPlatformGatewayCorsProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AppPlatformGatewayCorsProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AppPlatformGatewayCorsProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AppPlatformGatewayCorsProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AppPlatformGatewayCorsProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET