Class AgentRegistrationKeyName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AgentRegistrationKeyName>
com.azure.resourcemanager.automation.models.AgentRegistrationKeyName
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AgentRegistrationKeyName
extends com.azure.core.util.ExpandableStringEnum<AgentRegistrationKeyName>
Gets or sets the agent registration key name - primary or secondary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AgentRegistrationKeyName
Static value primary for AgentRegistrationKeyName.static final AgentRegistrationKeyName
Static value secondary for AgentRegistrationKeyName. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentRegistrationKeyName
fromString
(String name) Creates or finds a AgentRegistrationKeyName from its string representation.static Collection
<AgentRegistrationKeyName> values()
Gets known AgentRegistrationKeyName values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PRIMARY
Static value primary for AgentRegistrationKeyName. -
SECONDARY
Static value secondary for AgentRegistrationKeyName.
-
-
Constructor Details
-
AgentRegistrationKeyName
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AgentRegistrationKeyName value.
-
-
Method Details
-
fromString
Creates or finds a AgentRegistrationKeyName from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AgentRegistrationKeyName.
-
values
Gets known AgentRegistrationKeyName values.- Returns:
- known AgentRegistrationKeyName values.
-
fromString(String)
factory method.