Class ApplicationSharingPolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApplicationSharingPolicy>
com.azure.resourcemanager.machinelearning.models.ApplicationSharingPolicy
public final class ApplicationSharingPolicy
extends com.azure.core.util.ExpandableStringEnum<ApplicationSharingPolicy>
Sharing policy for applications on this compute instance
Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the
creator can access applications on this compute instance. When Shared, any workspace user can access applications on
this instance depending on his/her assigned role.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ApplicationSharingPolicyStatic value Personal for ApplicationSharingPolicy.static final ApplicationSharingPolicyStatic value Shared for ApplicationSharingPolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplicationSharingPolicyfromString(String name) Creates or finds a ApplicationSharingPolicy from its string representation.static Collection<ApplicationSharingPolicy>values()Gets known ApplicationSharingPolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PERSONAL
Static value Personal for ApplicationSharingPolicy. -
SHARED
Static value Shared for ApplicationSharingPolicy.
-
-
Constructor Details
-
ApplicationSharingPolicy
Deprecated.Use thefromString(String)factory method.Creates a new instance of ApplicationSharingPolicy value.
-
-
Method Details
-
fromString
Creates or finds a ApplicationSharingPolicy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ApplicationSharingPolicy.
-
values
Gets known ApplicationSharingPolicy values.- Returns:
- known ApplicationSharingPolicy values.
-
fromString(String)factory method.