Share via


HealthcareApisServiceCorsConfiguration Class

Definition

The settings for the CORS configuration of the service instance.

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

Constructors

HealthcareApisServiceCorsConfiguration()

Initializes a new instance of HealthcareApisServiceCorsConfiguration.

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<HealthcareApisServiceCorsConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HealthcareApisServiceCorsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HealthcareApisServiceCorsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HealthcareApisServiceCorsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HealthcareApisServiceCorsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to