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
RDP. |
|
static final
Bastion |
SSH
SSH. |
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
RDP.
SSH
public static final BastionConnectProtocol SSH
SSH.
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<BastionConnectProtocol> values()
Gets known BastionConnectProtocol values.
Returns: