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

98 строки
7.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType"
name: "IotHubReplicaRoleType"
nameWithType: "IotHubReplicaRoleType"
summary: "The role of the region, can be either primary or secondary."
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 **IotHubReplicaRoleType**</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.iothub.models.IotHubReplicaRoleType?alt=com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType&text=IotHubReplicaRoleType\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.IotHubReplicaRoleType()"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.IotHubReplicaRoleType()"
name: "IotHubReplicaRoleType()"
nameWithType: "IotHubReplicaRoleType.IotHubReplicaRoleType()"
summary: "Creates a new instance of Iot<wbr>Hub<wbr>Replica<wbr>Role<wbr>Type value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.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 IotHubReplicaRoleType()"
desc: "Creates a new instance of IotHubReplicaRoleType value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.PRIMARY"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.PRIMARY"
name: "PRIMARY"
nameWithType: "IotHubReplicaRoleType.PRIMARY"
summary: "Static value primary for Iot<wbr>Hub<wbr>Replica<wbr>Role<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType?alt=com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType&text=IotHubReplicaRoleType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final IotHubReplicaRoleType PRIMARY"
desc: "Static value primary for IotHubReplicaRoleType."
- uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.SECONDARY"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.SECONDARY"
name: "SECONDARY"
nameWithType: "IotHubReplicaRoleType.SECONDARY"
summary: "Static value secondary for Iot<wbr>Hub<wbr>Replica<wbr>Role<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType?alt=com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType&text=IotHubReplicaRoleType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final IotHubReplicaRoleType SECONDARY"
desc: "Static value secondary for IotHubReplicaRoleType."
methods:
- uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.fromString(String name)"
name: "fromString(String name)"
nameWithType: "IotHubReplicaRoleType.fromString(String name)"
summary: "Creates or finds a Iot<wbr>Hub<wbr>Replica<wbr>Role<wbr>Type 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 IotHubReplicaRoleType fromString(String name)"
desc: "Creates or finds a IotHubReplicaRoleType from its string representation."
returns:
description: "the corresponding IotHubReplicaRoleType."
type: "<xref href=\"com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType?alt=com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType&text=IotHubReplicaRoleType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.values()"
fullName: "com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType.values()"
name: "values()"
nameWithType: "IotHubReplicaRoleType.values()"
summary: "Gets known Iot<wbr>Hub<wbr>Replica<wbr>Role<wbr>Type values."
modifiers:
- "static"
syntax: "public static Collection<IotHubReplicaRoleType> values()"
desc: "Gets known IotHubReplicaRoleType values."
returns:
description: "known IotHubReplicaRoleType values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType?alt=com.azure.resourcemanager.iothub.models.IotHubReplicaRoleType&text=IotHubReplicaRoleType\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "The role of the region, can be either primary or secondary. The primary region is where the IoT hub is currently provisioned. The secondary region is the Azure disaster recovery (DR) paired region and also the region where the IoT hub can failover to."
metadata: {}
package: "com.azure.resourcemanager.iothub.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-iothub:1.2.0