ServiceCorsConfigurationInfo Class
The settings for the CORS configuration of the service instance.
- Inheritance
-
azure.mgmt.healthcareapis._serialization.ModelServiceCorsConfigurationInfo
Constructor
ServiceCorsConfigurationInfo(*, origins: List[str] | None = None, headers: List[str] | None = None, methods: List[str] | None = None, max_age: int | None = None, allow_credentials: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
origins
|
The origins to be allowed via CORS. |
headers
|
The headers to be allowed via CORS. |
methods
|
The methods to be allowed via CORS. |
max_age
|
The max age to be allowed via CORS. |
allow_credentials
|
If credentials are allowed via CORS. |
Variables
Name | Description |
---|---|
origins
|
The origins to be allowed via CORS. |
headers
|
The headers to be allowed via CORS. |
methods
|
The methods to be allowed via CORS. |
max_age
|
The max age to be allowed via CORS. |
allow_credentials
|
If credentials are allowed via CORS. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python