ServiceCorsConfigurationInfo Class

The settings for the CORS configuration of the service instance.

Inheritance
ServiceCorsConfigurationInfo

Constructor

ServiceCorsConfigurationInfo(*, origins: Optional[List[str]] = None, headers: Optional[List[str]] = None, methods: Optional[List[str]] = None, max_age: Optional[int] = None, allow_credentials: Optional[bool] = None, **kwargs)

Variables

origins
list[str]

The origins to be allowed via CORS.

headers
list[str]

The headers to be allowed via CORS.

methods
list[str]

The methods to be allowed via CORS.

max_age
int

The max age to be allowed via CORS.

allow_credentials
bool

If credentials are allowed via CORS.