com.azure.resourcemanager.automation.models.AutomationKeyPermissions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.
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.automation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Automation key permissions.
*/
public final class AutomationKeyPermissions extends ExpandableStringEnum {
/**
* Static value Read for AutomationKeyPermissions.
*/
public static final AutomationKeyPermissions READ = fromString("Read");
/**
* Static value Full for AutomationKeyPermissions.
*/
public static final AutomationKeyPermissions FULL = fromString("Full");
/**
* Creates a new instance of AutomationKeyPermissions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AutomationKeyPermissions() {
}
/**
* Creates or finds a AutomationKeyPermissions from its string representation.
*
* @param name a name to look for.
* @return the corresponding AutomationKeyPermissions.
*/
public static AutomationKeyPermissions fromString(String name) {
return fromString(name, AutomationKeyPermissions.class);
}
/**
* Gets known AutomationKeyPermissions values.
*
* @return known AutomationKeyPermissions values.
*/
public static Collection values() {
return values(AutomationKeyPermissions.class);
}
}