다음을 통해 공유


DicomServiceCorsConfiguration Class

Definition

The settings for the CORS configuration of the service instance.

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

Constructors

DicomServiceCorsConfiguration()

Initializes a new instance of DicomServiceCorsConfiguration.

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

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

IJsonModel<DicomServiceCorsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DicomServiceCorsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DicomServiceCorsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DicomServiceCorsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to