ServiceCorsConfigurationInfo 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.
The settings for the CORS configuration of the service instance.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceCorsConfigurationInfoTypeConverter))]
public class ServiceCorsConfigurationInfo : Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServiceCorsConfigurationInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.ServiceCorsConfigurationInfoTypeConverter))>]
type ServiceCorsConfigurationInfo = class
interface IServiceCorsConfigurationInfo
interface IJsonSerializable
Public Class ServiceCorsConfigurationInfo
Implements IServiceCorsConfigurationInfo
- Inheritance
-
ServiceCorsConfigurationInfo
- Attributes
- Implements
Constructors
ServiceCorsConfigurationInfo() |
Creates an new ServiceCorsConfigurationInfo instance. |
Properties
AllowCredentials |
If credentials are allowed via CORS. |
Header |
The headers to be allowed via CORS. |
MaxAge |
The max age to be allowed via CORS. |
Method |
The methods to be allowed via CORS. |
Origin |
The origins to be allowed via CORS. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ServiceCorsConfigurationInfo. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ServiceCorsConfigurationInfo. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServiceCorsConfigurationInfo. |
FromJsonString(String) |
Creates a new instance of ServiceCorsConfigurationInfo, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ServiceCorsConfigurationInfo into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |