Class AgentRegistrationKeyName
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AgentRegistrationKeyName>
com.azure.resourcemanager.automation.models.AgentRegistrationKeyName
public final class AgentRegistrationKeyName
extends com.azure.core.util.ExpandableStringEnum<AgentRegistrationKeyName>
Gets or sets the agent registration key name - primary or secondary.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AgentRegistrationKeyName
Static value primary for AgentRegistrationKeyName.static final AgentRegistrationKeyName
Static value secondary for AgentRegistrationKeyName. -
Constructor Summary
-
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, hashCode, toString, values
-
Field Details
-
PRIMARY
Static value primary for AgentRegistrationKeyName. -
SECONDARY
Static value secondary for AgentRegistrationKeyName.
-
-
Constructor Details
-
AgentRegistrationKeyName
public AgentRegistrationKeyName()
-
-
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.
-