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

110 строки
8.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod"
name: "AuthenticationMethod"
nameWithType: "AuthenticationMethod"
summary: "Which authentication method Cassandra should use to authenticate clients."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- 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#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#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#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 **AuthenticationMethod**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.AuthenticationMethod()"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.AuthenticationMethod()"
name: "AuthenticationMethod()"
nameWithType: "AuthenticationMethod.AuthenticationMethod()"
summary: "Creates a new instance of Authentication<wbr>Method value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public AuthenticationMethod()"
desc: "Creates a new instance of AuthenticationMethod value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.CASSANDRA"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.CASSANDRA"
name: "CASSANDRA"
nameWithType: "AuthenticationMethod.CASSANDRA"
summary: "Static value Cassandra for Authentication<wbr>Method."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AuthenticationMethod CASSANDRA"
desc: "Static value Cassandra for AuthenticationMethod."
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.LDAP"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.LDAP"
name: "LDAP"
nameWithType: "AuthenticationMethod.LDAP"
summary: "Static value Ldap for Authentication<wbr>Method."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AuthenticationMethod LDAP"
desc: "Static value Ldap for AuthenticationMethod."
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.NONE"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.NONE"
name: "NONE"
nameWithType: "AuthenticationMethod.NONE"
summary: "Static value None for Authentication<wbr>Method."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final AuthenticationMethod NONE"
desc: "Static value None for AuthenticationMethod."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.fromString(String name)"
name: "fromString(String name)"
nameWithType: "AuthenticationMethod.fromString(String name)"
summary: "Creates or finds a Authentication<wbr>Method from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static AuthenticationMethod fromString(String name)"
desc: "Creates or finds a AuthenticationMethod from its string representation."
returns:
description: "the corresponding AuthenticationMethod."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.values()"
fullName: "com.azure.resourcemanager.cosmos.models.AuthenticationMethod.values()"
name: "values()"
nameWithType: "AuthenticationMethod.values()"
summary: "Gets known Authentication<wbr>Method values."
modifiers:
- "static"
syntax: "public static Collection<AuthenticationMethod> values()"
desc: "Gets known AuthenticationMethod values."
returns:
description: "known AuthenticationMethod values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.AuthenticationMethod?alt=com.azure.resourcemanager.cosmos.models.AuthenticationMethod&text=AuthenticationMethod\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0