com.azure.resourcemanager.dnsresolver.models.ProvisioningState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dnsresolver Show documentation
Show all versions of azure-resourcemanager-dnsresolver Show documentation
This package contains Microsoft Azure SDK for DnsResolver Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The DNS Resolver Management Client. Package tag package-2022-07.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.dnsresolver.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The current provisioning state of the resource.
*/
public final class ProvisioningState extends ExpandableStringEnum {
/**
* Static value Creating for ProvisioningState.
*/
public static final ProvisioningState CREATING = fromString("Creating");
/**
* Static value Updating for ProvisioningState.
*/
public static final ProvisioningState UPDATING = fromString("Updating");
/**
* Static value Deleting for ProvisioningState.
*/
public static final ProvisioningState DELETING = fromString("Deleting");
/**
* Static value Succeeded for ProvisioningState.
*/
public static final ProvisioningState SUCCEEDED = fromString("Succeeded");
/**
* Static value Failed for ProvisioningState.
*/
public static final ProvisioningState FAILED = fromString("Failed");
/**
* Static value Canceled for ProvisioningState.
*/
public static final ProvisioningState CANCELED = fromString("Canceled");
/**
* Creates a new instance of ProvisioningState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ProvisioningState() {
}
/**
* Creates or finds a ProvisioningState from its string representation.
*
* @param name a name to look for.
* @return the corresponding ProvisioningState.
*/
public static ProvisioningState fromString(String name) {
return fromString(name, ProvisioningState.class);
}
/**
* Gets known ProvisioningState values.
*
* @return known ProvisioningState values.
*/
public static Collection values() {
return values(ProvisioningState.class);
}
}