
com.azure.resourcemanager.automation.models.AgentRegistrationKeyName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2019-06.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Gets or sets the agent registration key name - primary or secondary.
*/
public final class AgentRegistrationKeyName extends ExpandableStringEnum {
/**
* Static value primary for AgentRegistrationKeyName.
*/
public static final AgentRegistrationKeyName PRIMARY = fromString("primary");
/**
* Static value secondary for AgentRegistrationKeyName.
*/
public static final AgentRegistrationKeyName SECONDARY = fromString("secondary");
/**
* Creates a new instance of AgentRegistrationKeyName value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AgentRegistrationKeyName() {
}
/**
* Creates or finds a AgentRegistrationKeyName from its string representation.
*
* @param name a name to look for.
* @return the corresponding AgentRegistrationKeyName.
*/
public static AgentRegistrationKeyName fromString(String name) {
return fromString(name, AgentRegistrationKeyName.class);
}
/**
* Gets known AgentRegistrationKeyName values.
*
* @return known AgentRegistrationKeyName values.
*/
public static Collection values() {
return values(AgentRegistrationKeyName.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy