Condividi tramite


FhirServiceCorsConfiguration Class

Definition

The settings for the CORS configuration of the service instance.

public class FhirServiceCorsConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HealthcareApis.Models.FhirServiceCorsConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HealthcareApis.Models.FhirServiceCorsConfiguration>
public class FhirServiceCorsConfiguration
type FhirServiceCorsConfiguration = class
    interface IJsonModel<FhirServiceCorsConfiguration>
    interface IPersistableModel<FhirServiceCorsConfiguration>
type FhirServiceCorsConfiguration = class
Public Class FhirServiceCorsConfiguration
Implements IJsonModel(Of FhirServiceCorsConfiguration), IPersistableModel(Of FhirServiceCorsConfiguration)
Public Class FhirServiceCorsConfiguration
Inheritance
FhirServiceCorsConfiguration
Implements

Constructors

FhirServiceCorsConfiguration()

Initializes a new instance of FhirServiceCorsConfiguration.

Properties

AllowCredentials

If credentials are allowed via CORS.

Headers

The headers to be allowed via CORS.

MaxAge

The max age to be allowed via CORS.

Methods

The methods to be allowed via CORS.

Origins

The origins to be allowed via CORS.

Explicit Interface Implementations

IJsonModel<FhirServiceCorsConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FhirServiceCorsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FhirServiceCorsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FhirServiceCorsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FhirServiceCorsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to