| Package | Description |
|---|---|
| com.azure.resourcemanager.appservice.fluent.models |
Package containing the inner data models for WebSiteManagementClient.
|
| com.azure.resourcemanager.appservice.models |
Package containing the data models for WebSiteManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
CorsSettings |
SiteConfigResourceInner.cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
|
CorsSettings |
SiteConfigInner.cors()
Get the cors property: Cross-Origin Resource Sharing (CORS) settings.
|
| Modifier and Type | Method and Description |
|---|---|
SiteConfigResourceInner |
SiteConfigResourceInner.withCors(CorsSettings cors)
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.
|
SiteConfigInner |
SiteConfigInner.withCors(CorsSettings cors)
Set the cors property: Cross-Origin Resource Sharing (CORS) settings.
|
| Modifier and Type | Method and Description |
|---|---|
CorsSettings |
CorsSettings.withAllowedOrigins(List<String> allowedOrigins)
Set the allowedOrigins property: Gets or sets the list of origins that should be allowed to make cross-origin
calls (for example: http://example.com:12345).
|
CorsSettings |
CorsSettings.withSupportCredentials(Boolean supportCredentials)
Set the supportCredentials property: Gets or sets whether CORS requests with credentials are allowed.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.