Class SshPublicAccess
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SshPublicAccess>
com.azure.resourcemanager.machinelearning.models.SshPublicAccess
public final class SshPublicAccess
extends com.azure.core.util.ExpandableStringEnum<SshPublicAccess>
Access policy for SSH
State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this
instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if
applicable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SshPublicAccessStatic value Disabled for SshPublicAccess.static final SshPublicAccessStatic value Enabled for SshPublicAccess. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SshPublicAccessfromString(String name) Creates or finds a SshPublicAccess from its string representation.static Collection<SshPublicAccess>values()Gets known SshPublicAccess values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for SshPublicAccess. -
DISABLED
Static value Disabled for SshPublicAccess.
-
-
Constructor Details
-
SshPublicAccess
Deprecated.Use thefromString(String)factory method.Creates a new instance of SshPublicAccess value.
-
-
Method Details
-
fromString
Creates or finds a SshPublicAccess from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SshPublicAccess.
-
values
Gets known SshPublicAccess values.- Returns:
- known SshPublicAccess values.
-
fromString(String)factory method.