BastionConnectProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. BastionConnectProtocol
- com.
- com.
public final class BastionConnectProtocol
extends ExpandableStringEnum<BastionConnectProtocol>
The protocol used to connect to the target.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Bastion |
RDP
Static value RDP for Bastion |
static final
Bastion |
SSH
Static value SSH for Bastion |
Constructor Summary
Constructor | Description |
---|---|
BastionConnectProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Bastion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Bastion |
fromString(String name)
Creates or finds a Bastion |
static
Collection<Bastion |
values()
Gets known Bastion |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
RDP
public static final BastionConnectProtocol RDP
Static value RDP for BastionConnectProtocol.
SSH
public static final BastionConnectProtocol SSH
Static value SSH for BastionConnectProtocol.
Constructor Details
BastionConnectProtocol
@Deprecated
public BastionConnectProtocol()
Deprecated
Creates a new instance of BastionConnectProtocol value.
Method Details
fromString
public static BastionConnectProtocol fromString(String name)
Creates or finds a BastionConnectProtocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known BastionConnectProtocol values.
Returns:
Applies to
Azure SDK for Java