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

com.azure.resourcemanager.securityinsights.models.PermissionProviderScope Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for SecurityInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.SecurityInsights (Azure Security Insights) resource provider. Package tag package-preview-2022-09.

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.securityinsights.models;

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

/**
 * Permission provider scope.
 */
public final class PermissionProviderScope extends ExpandableStringEnum {
    /**
     * Static value ResourceGroup for PermissionProviderScope.
     */
    public static final PermissionProviderScope RESOURCE_GROUP = fromString("ResourceGroup");

    /**
     * Static value Subscription for PermissionProviderScope.
     */
    public static final PermissionProviderScope SUBSCRIPTION = fromString("Subscription");

    /**
     * Static value Workspace for PermissionProviderScope.
     */
    public static final PermissionProviderScope WORKSPACE = fromString("Workspace");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy