BastionHostPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. BastionHostPropertiesFormat
- com.
Implements
public final class BastionHostPropertiesFormat
implements JsonSerializable<BastionHostPropertiesFormat>
Properties of the Bastion Host.
Constructor Summary
| Constructor | Description |
|---|---|
| BastionHostPropertiesFormat() |
Creates an instance of Bastion |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
disableCopyPaste()
Get the disable |
| String |
dnsName()
Get the dns |
| Boolean |
enableFileCopy()
Get the enable |
| Boolean |
enableIpConnect()
Get the enable |
| Boolean |
enableKerberos()
Get the enable |
| Boolean |
enablePrivateOnlyBastion()
Get the enable |
| Boolean |
enableSessionRecording()
Get the enable |
| Boolean |
enableShareableLink()
Get the enable |
| Boolean |
enableTunneling()
Get the enable |
|
static
Bastion |
fromJson(JsonReader jsonReader)
Reads an instance of Bastion |
|
List<Bastion |
ipConfigurations()
Get the ip |
|
Bastion |
networkAcls()
Get the network |
|
Provisioning |
provisioningState()
Get the provisioning |
| Integer |
scaleUnits()
Get the scale |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sub |
virtualNetwork()
Get the virtual |
|
Bastion |
withDisableCopyPaste(Boolean disableCopyPaste)
Set the disable |
|
Bastion |
withDnsName(String dnsName)
Set the dns |
|
Bastion |
withEnableFileCopy(Boolean enableFileCopy)
Set the enable |
|
Bastion |
withEnableIpConnect(Boolean enableIpConnect)
Set the enable |
|
Bastion |
withEnableKerberos(Boolean enableKerberos)
Set the enable |
|
Bastion |
withEnablePrivateOnlyBastion(Boolean enablePrivateOnlyBastion)
Set the enable |
|
Bastion |
withEnableSessionRecording(Boolean enableSessionRecording)
Set the enable |
|
Bastion |
withEnableShareableLink(Boolean enableShareableLink)
Set the enable |
|
Bastion |
withEnableTunneling(Boolean enableTunneling)
Set the enable |
|
Bastion |
withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ip |
|
Bastion |
withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)
Set the network |
|
Bastion |
withScaleUnits(Integer scaleUnits)
Set the scale |
|
Bastion |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
BastionHostPropertiesFormat
public BastionHostPropertiesFormat()
Creates an instance of BastionHostPropertiesFormat class.
Method Details
disableCopyPaste
public Boolean disableCopyPaste()
Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.
Returns:
dnsName
public String dnsName()
Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.
Returns:
enableFileCopy
public Boolean enableFileCopy()
Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.
Returns:
enableIpConnect
public Boolean enableIpConnect()
Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.
Returns:
enableKerberos
public Boolean enableKerberos()
Get the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.
Returns:
enablePrivateOnlyBastion
public Boolean enablePrivateOnlyBastion()
Get the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.
Returns:
enableSessionRecording
public Boolean enableSessionRecording()
Get the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.
Returns:
enableShareableLink
public Boolean enableShareableLink()
Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.
Returns:
enableTunneling
public Boolean enableTunneling()
Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.
Returns:
fromJson
public static BastionHostPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of BastionHostPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
ipConfigurations
public List<BastionHostIpConfiguration> ipConfigurations()
Get the ipConfigurations property: IP configuration of the Bastion Host resource.
Returns:
networkAcls
public BastionHostPropertiesFormatNetworkAcls networkAcls()
Get the networkAcls property: The networkAcls property.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the bastion host resource.
Returns:
scaleUnits
public Integer scaleUnits()
Get the scaleUnits property: The scale units for the Bastion Host resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.
Returns:
withDisableCopyPaste
public BastionHostPropertiesFormat withDisableCopyPaste(Boolean disableCopyPaste)
Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.
Parameters:
Returns:
withDnsName
public BastionHostPropertiesFormat withDnsName(String dnsName)
Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.
Parameters:
Returns:
withEnableFileCopy
public BastionHostPropertiesFormat withEnableFileCopy(Boolean enableFileCopy)
Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.
Parameters:
Returns:
withEnableIpConnect
public BastionHostPropertiesFormat withEnableIpConnect(Boolean enableIpConnect)
Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.
Parameters:
Returns:
withEnableKerberos
public BastionHostPropertiesFormat withEnableKerberos(Boolean enableKerberos)
Set the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.
Parameters:
Returns:
withEnablePrivateOnlyBastion
public BastionHostPropertiesFormat withEnablePrivateOnlyBastion(Boolean enablePrivateOnlyBastion)
Set the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.
Parameters:
Returns:
withEnableSessionRecording
public BastionHostPropertiesFormat withEnableSessionRecording(Boolean enableSessionRecording)
Set the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.
Parameters:
Returns:
withEnableShareableLink
public BastionHostPropertiesFormat withEnableShareableLink(Boolean enableShareableLink)
Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.
Parameters:
Returns:
withEnableTunneling
public BastionHostPropertiesFormat withEnableTunneling(Boolean enableTunneling)
Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.
Parameters:
Returns:
withIpConfigurations
public BastionHostPropertiesFormat withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ipConfigurations property: IP configuration of the Bastion Host resource.
Parameters:
Returns:
withNetworkAcls
public BastionHostPropertiesFormat withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)
Set the networkAcls property: The networkAcls property.
Parameters:
Returns:
withScaleUnits
public BastionHostPropertiesFormat withScaleUnits(Integer scaleUnits)
Set the scaleUnits property: The scale units for the Bastion Host resource.
Parameters:
Returns:
withVirtualNetwork
public BastionHostPropertiesFormat withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.
Parameters:
Returns: