com.microsoft.azure.management.sql.JobTargetType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for JobTargetType.
*/
public final class JobTargetType extends ExpandableStringEnum {
/** Static value TargetGroup for JobTargetType. */
public static final JobTargetType TARGET_GROUP = fromString("TargetGroup");
/** Static value SqlDatabase for JobTargetType. */
public static final JobTargetType SQL_DATABASE = fromString("SqlDatabase");
/** Static value SqlElasticPool for JobTargetType. */
public static final JobTargetType SQL_ELASTIC_POOL = fromString("SqlElasticPool");
/** Static value SqlShardMap for JobTargetType. */
public static final JobTargetType SQL_SHARD_MAP = fromString("SqlShardMap");
/** Static value SqlServer for JobTargetType. */
public static final JobTargetType SQL_SERVER = fromString("SqlServer");
/**
* Creates or finds a JobTargetType from its string representation.
* @param name a name to look for
* @return the corresponding JobTargetType
*/
@JsonCreator
public static JobTargetType fromString(String name) {
return fromString(name, JobTargetType.class);
}
/**
* @return known JobTargetType values
*/
public static Collection values() {
return values(JobTargetType.class);
}
}