com.azure.resourcemanager.compute.models.SharingState 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;
/**
* The sharing state of the gallery.
*
* The sharing state of the gallery, which only appears in the response.
*/
public final class SharingState extends ExpandableStringEnum {
/**
* Static value Succeeded for SharingState.
*/
public static final SharingState SUCCEEDED = fromString("Succeeded");
/**
* Static value InProgress for SharingState.
*/
public static final SharingState IN_PROGRESS = fromString("InProgress");
/**
* Static value Failed for SharingState.
*/
public static final SharingState FAILED = fromString("Failed");
/**
* Static value Unknown for SharingState.
*/
public static final SharingState UNKNOWN = fromString("Unknown");
/**
* Creates a new instance of SharingState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public SharingState() {
}
/**
* Creates or finds a SharingState from its string representation.
*
* @param name a name to look for.
* @return the corresponding SharingState.
*/
public static SharingState fromString(String name) {
return fromString(name, SharingState.class);
}
/**
* Gets known SharingState values.
*
* @return known SharingState values.
*/
public static Collection values() {
return values(SharingState.class);
}
}