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

com.azure.resourcemanager.desktopvirtualization.models.HostpoolPublicNetworkAccess Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-04.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.desktopvirtualization.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to
 * only be accessed via private endpoints.
 */
public final class HostpoolPublicNetworkAccess extends ExpandableStringEnum {
    /**
     * Static value Enabled for HostpoolPublicNetworkAccess.
     */
    public static final HostpoolPublicNetworkAccess ENABLED = fromString("Enabled");

    /**
     * Static value Disabled for HostpoolPublicNetworkAccess.
     */
    public static final HostpoolPublicNetworkAccess DISABLED = fromString("Disabled");

    /**
     * Static value EnabledForSessionHostsOnly for HostpoolPublicNetworkAccess.
     */
    public static final HostpoolPublicNetworkAccess ENABLED_FOR_SESSION_HOSTS_ONLY
        = fromString("EnabledForSessionHostsOnly");

    /**
     * Static value EnabledForClientsOnly for HostpoolPublicNetworkAccess.
     */
    public static final HostpoolPublicNetworkAccess ENABLED_FOR_CLIENTS_ONLY = fromString("EnabledForClientsOnly");

    /**
     * Creates a new instance of HostpoolPublicNetworkAccess value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public HostpoolPublicNetworkAccess() {
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy