All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.ServiceEndpointType Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 */

package com.microsoft.azure.management.network;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

import java.util.Collection;

/**
 * Defines values for ServiceEndpointType.
 */
public final class ServiceEndpointType extends ExpandableStringEnum {
    /** Static value Microsoft.Storage for ServiceEndpointType. */
    public static final ServiceEndpointType MICROSOFT_STORAGE = fromString("Microsoft.Storage");

    /** Static value Microsoft.Sql for ServiceEndpointType. */
    public static final ServiceEndpointType MICROSOFT_SQL = fromString("Microsoft.Sql");

    /** Static value Microsoft.AzureCosmosDB for ServiceEndpointType. */
    public static final ServiceEndpointType MICROSOFT_AZURECOSMOSDB = fromString("Microsoft.AzureCosmosDB");

    /**
     * Creates or finds a ServiceEndpointType from its string representation.
     * @param name a name to look for
     * @return the corresponding ServiceEndpointType
     */
    @JsonCreator
    public static ServiceEndpointType fromString(String name) {
        return fromString(name, ServiceEndpointType.class);
    }

    /**
     * @return known ServiceEndpointType values
     */
    public static Collection values() {
        return values(ServiceEndpointType.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy