com.azure.resourcemanager.applicationinsights.models.ItemScope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-applicationinsights Show documentation
Show all versions of azure-resourcemanager-applicationinsights Show documentation
This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-04-01.
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.applicationinsights.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for ItemScope. */
public final class ItemScope extends ExpandableStringEnum {
/** Static value shared for ItemScope. */
public static final ItemScope SHARED = fromString("shared");
/** Static value user for ItemScope. */
public static final ItemScope USER = fromString("user");
/**
* Creates or finds a ItemScope from its string representation.
*
* @param name a name to look for.
* @return the corresponding ItemScope.
*/
@JsonCreator
public static ItemScope fromString(String name) {
return fromString(name, ItemScope.class);
}
/**
* Gets known ItemScope values.
*
* @return known ItemScope values.
*/
public static Collection values() {
return values(ItemScope.class);
}
}