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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for AgentRegistrationKeyName. */
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 or finds a AgentRegistrationKeyName from its string representation.
*
* @param name a name to look for.
* @return the corresponding AgentRegistrationKeyName.
*/
@JsonCreator
public static AgentRegistrationKeyName fromString(String name) {
return fromString(name, AgentRegistrationKeyName.class);
}
/** @return known AgentRegistrationKeyName values. */
public static Collection values() {
return values(AgentRegistrationKeyName.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy