GallerySharingPermissionTypes Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. GallerySharingPermissionTypes
- com.
- com.
public final class GallerySharingPermissionTypes
extends ExpandableStringEnum<GallerySharingPermissionTypes>
This property allows you to specify the permission of sharing gallery. Possible values are: **Private,** **Groups,** **Community.**.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Gallery |
COMMUNITY
Static value Community for Gallery |
static final
Gallery |
GROUPS
Static value Groups for Gallery |
static final
Gallery |
PRIVATE
Static value Private for Gallery |
Constructor Summary
Constructor | Description |
---|---|
GallerySharingPermissionTypes() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromString(String name)
Creates or finds a Gallery |
static
Collection<Gallery |
values()
Gets known Gallery |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COMMUNITY
public static final GallerySharingPermissionTypes COMMUNITY
Static value Community for GallerySharingPermissionTypes.
GROUPS
public static final GallerySharingPermissionTypes GROUPS
Static value Groups for GallerySharingPermissionTypes.
PRIVATE
public static final GallerySharingPermissionTypes PRIVATE
Static value Private for GallerySharingPermissionTypes.
Constructor Details
GallerySharingPermissionTypes
@Deprecated
public GallerySharingPermissionTypes()
Deprecated
Creates a new instance of GallerySharingPermissionTypes value.
Method Details
fromString
public static GallerySharingPermissionTypes fromString(String name)
Creates or finds a GallerySharingPermissionTypes from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known GallerySharingPermissionTypes values.
Returns:
Applies to
Azure SDK for Java