Class BastionHostPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.BastionHostPropertiesFormat
Properties of the Bastion Host.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BastionHostPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.dnsName()Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.Get the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.Get the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.Get the ipConfigurations property: IP configuration of the Bastion Host resource.Get the networkAcls property: The networkAcls property.Get the provisioningState property: The provisioning state of the bastion host resource.Get the scaleUnits property: The scale units for the Bastion Host resource.voidvalidate()Validates the instance.com.azure.core.management.SubResourceGet the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.withDisableCopyPaste(Boolean disableCopyPaste) Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.withDnsName(String dnsName) Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.withEnableFileCopy(Boolean enableFileCopy) Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.withEnableIpConnect(Boolean enableIpConnect) Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.withEnableKerberos(Boolean enableKerberos) Set the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.withEnableSessionRecording(Boolean enableSessionRecording) Set the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.withEnableShareableLink(Boolean enableShareableLink) Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.withEnableTunneling(Boolean enableTunneling) Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations) Set the ipConfigurations property: IP configuration of the Bastion Host resource.withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls) Set the networkAcls property: The networkAcls property.withScaleUnits(Integer scaleUnits) Set the scaleUnits property: The scale units for the Bastion Host resource.withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork) Set the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.
-
Constructor Details
-
BastionHostPropertiesFormat
public BastionHostPropertiesFormat()Creates an instance of BastionHostPropertiesFormat class.
-
-
Method Details
-
ipConfigurations
Get the ipConfigurations property: IP configuration of the Bastion Host resource.- Returns:
- the ipConfigurations value.
-
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.
-
dnsName
Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.- Returns:
- the dnsName value.
-
withDnsName
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.
-
virtualNetwork
public com.azure.core.management.SubResource virtualNetwork()Get the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
public BastionHostPropertiesFormat withVirtualNetwork(com.azure.core.management.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.
-
networkAcls
Get the networkAcls property: The networkAcls property.- Returns:
- the networkAcls value.
-
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.
-
provisioningState
Get the provisioningState property: The provisioning state of the bastion host resource.- Returns:
- the provisioningState value.
-
scaleUnits
Get the scaleUnits property: The scale units for the Bastion Host resource.- Returns:
- the scaleUnits value.
-
withScaleUnits
Set the scaleUnits property: The scale units for the Bastion Host resource.- Parameters:
scaleUnits- the scaleUnits value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
disableCopyPaste
Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.- Returns:
- the disableCopyPaste value.
-
withDisableCopyPaste
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.
-
enableFileCopy
Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.- Returns:
- the enableFileCopy value.
-
withEnableFileCopy
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.
-
enableIpConnect
Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.- Returns:
- the enableIpConnect value.
-
withEnableIpConnect
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.
-
enableTunneling
Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.- Returns:
- the enableTunneling value.
-
withEnableTunneling
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.
-
enableKerberos
Get the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.- Returns:
- the enableKerberos value.
-
withEnableKerberos
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.
-
enableSessionRecording
Get the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.- Returns:
- the enableSessionRecording value.
-
withEnableSessionRecording
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-