156 строки
11 KiB
YAML
156 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.storage.CorsRule"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule"
|
|
name: "CorsRule"
|
|
nameWithType: "CorsRule"
|
|
summary: "Specifies a CORS rule for the Blob service."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public class **CorsRule**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.CorsRule()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.CorsRule()"
|
|
name: "CorsRule()"
|
|
nameWithType: "CorsRule.CorsRule()"
|
|
syntax: "public CorsRule()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.allowedHeaders()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.allowedHeaders()"
|
|
name: "allowedHeaders()"
|
|
nameWithType: "CorsRule.allowedHeaders()"
|
|
summary: "Get required if Cors<wbr>Rule element is present."
|
|
syntax: "public List<String> allowedHeaders()"
|
|
desc: "Get required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
|
|
returns:
|
|
description: "the allowedHeaders value"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.allowedMethods()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.allowedMethods()"
|
|
name: "allowedMethods()"
|
|
nameWithType: "CorsRule.allowedMethods()"
|
|
summary: "Get required if Cors<wbr>Rule element is present."
|
|
syntax: "public List<String> allowedMethods()"
|
|
desc: "Get required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
|
|
returns:
|
|
description: "the allowedMethods value"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.allowedOrigins()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.allowedOrigins()"
|
|
name: "allowedOrigins()"
|
|
nameWithType: "CorsRule.allowedOrigins()"
|
|
summary: "Get required if Cors<wbr>Rule element is present."
|
|
syntax: "public List<String> allowedOrigins()"
|
|
desc: "Get 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: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.exposedHeaders()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.exposedHeaders()"
|
|
name: "exposedHeaders()"
|
|
nameWithType: "CorsRule.exposedHeaders()"
|
|
summary: "Get required if Cors<wbr>Rule element is present."
|
|
syntax: "public List<String> exposedHeaders()"
|
|
desc: "Get required if CorsRule element is present. A list of response headers to expose to CORS clients."
|
|
returns:
|
|
description: "the exposedHeaders value"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.maxAgeInSeconds()"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.maxAgeInSeconds()"
|
|
name: "maxAgeInSeconds()"
|
|
nameWithType: "CorsRule.maxAgeInSeconds()"
|
|
summary: "Get required if Cors<wbr>Rule element is present."
|
|
syntax: "public int maxAgeInSeconds()"
|
|
desc: "Get required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
|
|
returns:
|
|
description: "the maxAgeInSeconds value"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.withAllowedHeaders(java.util.List<java.lang.String>)"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.withAllowedHeaders(List<String> allowedHeaders)"
|
|
name: "withAllowedHeaders(List<String> allowedHeaders)"
|
|
nameWithType: "CorsRule.withAllowedHeaders(List<String> allowedHeaders)"
|
|
summary: "Set required if Cors<wbr>Rule element is present."
|
|
parameters:
|
|
- description: "the allowedHeaders value to set"
|
|
name: "allowedHeaders"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CorsRule withAllowedHeaders(List<String> allowedHeaders)"
|
|
desc: "Set required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
|
|
returns:
|
|
description: "the CorsRule object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.storage.CorsRule?alt=com.microsoft.azure.management.storage.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.withAllowedMethods(java.util.List<java.lang.String>)"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.withAllowedMethods(List<String> allowedMethods)"
|
|
name: "withAllowedMethods(List<String> allowedMethods)"
|
|
nameWithType: "CorsRule.withAllowedMethods(List<String> allowedMethods)"
|
|
summary: "Set required if Cors<wbr>Rule element is present."
|
|
parameters:
|
|
- description: "the allowedMethods value to set"
|
|
name: "allowedMethods"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CorsRule withAllowedMethods(List<String> allowedMethods)"
|
|
desc: "Set required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
|
|
returns:
|
|
description: "the CorsRule object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.storage.CorsRule?alt=com.microsoft.azure.management.storage.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.withAllowedOrigins(java.util.List<java.lang.String>)"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.withAllowedOrigins(List<String> allowedOrigins)"
|
|
name: "withAllowedOrigins(List<String> allowedOrigins)"
|
|
nameWithType: "CorsRule.withAllowedOrigins(List<String> allowedOrigins)"
|
|
summary: "Set required if Cors<wbr>Rule element is present."
|
|
parameters:
|
|
- description: "the allowedOrigins value to set"
|
|
name: "allowedOrigins"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CorsRule withAllowedOrigins(List<String> allowedOrigins)"
|
|
desc: "Set 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.microsoft.azure.management.storage.CorsRule?alt=com.microsoft.azure.management.storage.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.withExposedHeaders(java.util.List<java.lang.String>)"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.withExposedHeaders(List<String> exposedHeaders)"
|
|
name: "withExposedHeaders(List<String> exposedHeaders)"
|
|
nameWithType: "CorsRule.withExposedHeaders(List<String> exposedHeaders)"
|
|
summary: "Set required if Cors<wbr>Rule element is present."
|
|
parameters:
|
|
- description: "the exposedHeaders value to set"
|
|
name: "exposedHeaders"
|
|
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" /><<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CorsRule withExposedHeaders(List<String> exposedHeaders)"
|
|
desc: "Set required if CorsRule element is present. A list of response headers to expose to CORS clients."
|
|
returns:
|
|
description: "the CorsRule object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.storage.CorsRule?alt=com.microsoft.azure.management.storage.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.storage.CorsRule.withMaxAgeInSeconds(int)"
|
|
fullName: "com.microsoft.azure.management.storage.CorsRule.withMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
name: "withMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
nameWithType: "CorsRule.withMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
summary: "Set required if Cors<wbr>Rule element is present."
|
|
parameters:
|
|
- description: "the maxAgeInSeconds value to set"
|
|
name: "maxAgeInSeconds"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CorsRule withMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
desc: "Set required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
|
|
returns:
|
|
description: "the CorsRule object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.storage.CorsRule?alt=com.microsoft.azure.management.storage.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Specifies a CORS rule for the Blob service."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.storage"
|
|
artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4
|