azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

69 строки
4.4 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
uid: "com.azure.resourcemanager.maps.models.CorsRule"
fullName: "com.azure.resourcemanager.maps.models.CorsRule"
name: "CorsRule"
nameWithType: "CorsRule"
summary: "Specifies a CORS rule for the Map Account."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CorsRule**"
constructors:
- uid: "com.azure.resourcemanager.maps.models.CorsRule.CorsRule()"
fullName: "com.azure.resourcemanager.maps.models.CorsRule.CorsRule()"
name: "CorsRule()"
nameWithType: "CorsRule.CorsRule()"
summary: "Creates an instance of Cors<wbr>Rule class."
syntax: "public CorsRule()"
desc: "Creates an instance of CorsRule class."
methods:
- uid: "com.azure.resourcemanager.maps.models.CorsRule.allowedOrigins()"
fullName: "com.azure.resourcemanager.maps.models.CorsRule.allowedOrigins()"
name: "allowedOrigins()"
nameWithType: "CorsRule.allowedOrigins()"
summary: "Get the allowed<wbr>Origins property: Required if Cors<wbr>Rule element is present."
syntax: "public List<String> allowedOrigins()"
desc: "Get the allowedOrigins property: Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"\\*\" to allow all domains."
returns:
description: "the allowedOrigins value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.maps.models.CorsRule.validate()"
fullName: "com.azure.resourcemanager.maps.models.CorsRule.validate()"
name: "validate()"
nameWithType: "CorsRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.maps.models.CorsRule.withAllowedOrigins(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.maps.models.CorsRule.withAllowedOrigins(List<String> allowedOrigins)"
name: "withAllowedOrigins(List<String> allowedOrigins)"
nameWithType: "CorsRule.withAllowedOrigins(List<String> allowedOrigins)"
summary: "Set the allowed<wbr>Origins property: Required if Cors<wbr>Rule element is present."
parameters:
- description: "the allowedOrigins value to set."
name: "allowedOrigins"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public CorsRule withAllowedOrigins(List<String> allowedOrigins)"
desc: "Set the allowedOrigins property: Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"\\*\" to allow all domains."
returns:
description: "the CorsRule object itself."
type: "<xref href=\"com.azure.resourcemanager.maps.models.CorsRule?alt=com.azure.resourcemanager.maps.models.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Specifies a CORS rule for the Map Account."
metadata: {}
package: "com.azure.resourcemanager.maps.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-maps:1.0.0