com.azure.resourcemanager.compute.models.DataAccessAuthMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Additional authentication requirements when exporting or uploading to a disk or snapshot.
*/
public final class DataAccessAuthMode extends ExpandableStringEnum {
/**
* Static value AzureActiveDirectory for DataAccessAuthMode.
*/
public static final DataAccessAuthMode AZURE_ACTIVE_DIRECTORY = fromString("AzureActiveDirectory");
/**
* Static value None for DataAccessAuthMode.
*/
public static final DataAccessAuthMode NONE = fromString("None");
/**
* Creates a new instance of DataAccessAuthMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DataAccessAuthMode() {
}
/**
* Creates or finds a DataAccessAuthMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding DataAccessAuthMode.
*/
public static DataAccessAuthMode fromString(String name) {
return fromString(name, DataAccessAuthMode.class);
}
/**
* Gets known DataAccessAuthMode values.
*
* @return known DataAccessAuthMode values.
*/
public static Collection values() {
return values(DataAccessAuthMode.class);
}
}