다음을 통해 공유


FhirServiceCorsConfiguration Constructors

Definition

Overloads

FhirServiceCorsConfiguration()

Initializes a new instance of the FhirServiceCorsConfiguration class.

FhirServiceCorsConfiguration(IList<String>, IList<String>, IList<String>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the FhirServiceCorsConfiguration class.

FhirServiceCorsConfiguration()

Initializes a new instance of the FhirServiceCorsConfiguration class.

public FhirServiceCorsConfiguration ();
Public Sub New ()

Applies to

FhirServiceCorsConfiguration(IList<String>, IList<String>, IList<String>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the FhirServiceCorsConfiguration class.

public FhirServiceCorsConfiguration (System.Collections.Generic.IList<string> origins = default, System.Collections.Generic.IList<string> headers = default, System.Collections.Generic.IList<string> methods = default, int? maxAge = default, bool? allowCredentials = default);
new Microsoft.Azure.Management.HealthcareApis.Models.FhirServiceCorsConfiguration : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.HealthcareApis.Models.FhirServiceCorsConfiguration
Public Sub New (Optional origins As IList(Of String) = Nothing, Optional headers As IList(Of String) = Nothing, Optional methods As IList(Of String) = Nothing, Optional maxAge As Nullable(Of Integer) = Nothing, Optional allowCredentials As Nullable(Of Boolean) = Nothing)

Parameters

origins
IList<String>

The origins to be allowed via CORS.

headers
IList<String>

The headers to be allowed via CORS.

methods
IList<String>

The methods to be allowed via CORS.

maxAge
Nullable<Int32>

The max age to be allowed via CORS.

allowCredentials
Nullable<Boolean>

If credentials are allowed via CORS.

Applies to