Share via


BastionHostPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.BastionHostPropertiesFormat

Implements

public final class BastionHostPropertiesFormat
implements JsonSerializable<BastionHostPropertiesFormat>

Properties of the Bastion Host.

Constructor Summary

Constructor Description
BastionHostPropertiesFormat()

Creates an instance of BastionHostPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
Boolean disableCopyPaste()

Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.

String dnsName()

Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.

Boolean enableFileCopy()

Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.

Boolean enableIpConnect()

Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.

Boolean enableKerberos()

Get the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.

Boolean enablePrivateOnlyBastion()

Get the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.

Boolean enableSessionRecording()

Get the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.

Boolean enableShareableLink()

Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.

Boolean enableTunneling()

Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.

static BastionHostPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of BastionHostPropertiesFormat from the JsonReader.

List<BastionHostIpConfiguration> ipConfigurations()

Get the ipConfigurations property: IP configuration of the Bastion Host resource.

BastionHostPropertiesFormatNetworkAcls networkAcls()

Get the networkAcls property: The networkAcls property.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the bastion host resource.

Integer scaleUnits()

Get the scaleUnits property: The scale units for the Bastion Host resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubResource virtualNetwork()

Get the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.

BastionHostPropertiesFormat withDisableCopyPaste(Boolean disableCopyPaste)

Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.

BastionHostPropertiesFormat withDnsName(String dnsName)

Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.

BastionHostPropertiesFormat withEnableFileCopy(Boolean enableFileCopy)

Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.

BastionHostPropertiesFormat withEnableIpConnect(Boolean enableIpConnect)

Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.

BastionHostPropertiesFormat withEnableKerberos(Boolean enableKerberos)

Set the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.

BastionHostPropertiesFormat withEnablePrivateOnlyBastion(Boolean enablePrivateOnlyBastion)

Set the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.

BastionHostPropertiesFormat withEnableSessionRecording(Boolean enableSessionRecording)

Set the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.

BastionHostPropertiesFormat withEnableShareableLink(Boolean enableShareableLink)

Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.

BastionHostPropertiesFormat withEnableTunneling(Boolean enableTunneling)

Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.

BastionHostPropertiesFormat withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)

Set the ipConfigurations property: IP configuration of the Bastion Host resource.

BastionHostPropertiesFormat withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)

Set the networkAcls property: The networkAcls property.

BastionHostPropertiesFormat withScaleUnits(Integer scaleUnits)

Set the scaleUnits property: The scale units for the Bastion Host resource.

BastionHostPropertiesFormat withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.

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:

the disableCopyPaste value.

dnsName

public String dnsName()

Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.

Returns:

the dnsName value.

enableFileCopy

public Boolean enableFileCopy()

Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.

Returns:

the enableFileCopy value.

enableIpConnect

public Boolean enableIpConnect()

Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.

Returns:

the enableIpConnect value.

enableKerberos

public Boolean enableKerberos()

Get the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.

Returns:

the enableKerberos value.

enablePrivateOnlyBastion

public Boolean enablePrivateOnlyBastion()

Get the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.

Returns:

the enablePrivateOnlyBastion value.

enableSessionRecording

public Boolean enableSessionRecording()

Get the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.

Returns:

the enableSessionRecording value.

enableShareableLink

public Boolean enableShareableLink()

Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.

Returns:

the enableShareableLink value.

enableTunneling

public Boolean enableTunneling()

Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.

Returns:

the enableTunneling value.

fromJson

public static BastionHostPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of BastionHostPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BastionHostPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BastionHostPropertiesFormat.

ipConfigurations

public List<BastionHostIpConfiguration> ipConfigurations()

Get the ipConfigurations property: IP configuration of the Bastion Host resource.

Returns:

the ipConfigurations value.

networkAcls

public BastionHostPropertiesFormatNetworkAcls networkAcls()

Get the networkAcls property: The networkAcls property.

Returns:

the networkAcls value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the bastion host resource.

Returns:

the provisioningState value.

scaleUnits

public Integer scaleUnits()

Get the scaleUnits property: The scale units for the Bastion Host resource.

Returns:

the scaleUnits value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

the virtualNetwork value.

withDisableCopyPaste

public BastionHostPropertiesFormat withDisableCopyPaste(Boolean disableCopyPaste)

Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.

Parameters:

disableCopyPaste - the disableCopyPaste value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withDnsName

public BastionHostPropertiesFormat withDnsName(String dnsName)

Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.

Parameters:

dnsName - the dnsName value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableFileCopy

public BastionHostPropertiesFormat withEnableFileCopy(Boolean enableFileCopy)

Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.

Parameters:

enableFileCopy - the enableFileCopy value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableIpConnect

public BastionHostPropertiesFormat withEnableIpConnect(Boolean enableIpConnect)

Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.

Parameters:

enableIpConnect - the enableIpConnect value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableKerberos

public BastionHostPropertiesFormat withEnableKerberos(Boolean enableKerberos)

Set the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.

Parameters:

enableKerberos - the enableKerberos value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnablePrivateOnlyBastion

public BastionHostPropertiesFormat withEnablePrivateOnlyBastion(Boolean enablePrivateOnlyBastion)

Set the enablePrivateOnlyBastion property: Enable/Disable Private Only feature of the Bastion Host resource.

Parameters:

enablePrivateOnlyBastion - the enablePrivateOnlyBastion value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableSessionRecording

public BastionHostPropertiesFormat withEnableSessionRecording(Boolean enableSessionRecording)

Set the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.

Parameters:

enableSessionRecording - the enableSessionRecording value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableShareableLink

public BastionHostPropertiesFormat withEnableShareableLink(Boolean enableShareableLink)

Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.

Parameters:

enableShareableLink - the enableShareableLink value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withEnableTunneling

public BastionHostPropertiesFormat withEnableTunneling(Boolean enableTunneling)

Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.

Parameters:

enableTunneling - the enableTunneling value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withIpConfigurations

public BastionHostPropertiesFormat withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)

Set the ipConfigurations property: IP configuration of the Bastion Host resource.

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withNetworkAcls

public BastionHostPropertiesFormat withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)

Set the networkAcls property: The networkAcls property.

Parameters:

networkAcls - the networkAcls value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withScaleUnits

public BastionHostPropertiesFormat withScaleUnits(Integer scaleUnits)

Set the scaleUnits property: The scale units for the Bastion Host resource.

Parameters:

scaleUnits - the scaleUnits value to set.

Returns:

the BastionHostPropertiesFormat object itself.

withVirtualNetwork

public BastionHostPropertiesFormat withVirtualNetwork(SubResource virtualNetwork)

Set the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.

Parameters:

virtualNetwork - the virtualNetwork value to set.

Returns:

the BastionHostPropertiesFormat object itself.

Applies to