Class BastionHostInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.BastionHostInner
-
public final class BastionHostInner extends com.azure.core.management.ResourceBastion Host resource.
-
-
Constructor Summary
Constructors Constructor Description BastionHostInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandisableCopyPaste()Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.StringdnsName()Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.BooleanenableFileCopy()Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.BooleanenableIpConnect()Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.BooleanenableShareableLink()Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.BooleanenableTunneling()Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringid()Get the id property: Resource ID.List<BastionHostIpConfiguration>ipConfigurations()Get the ipConfigurations property: IP configuration of the Bastion Host resource.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the bastion host resource.IntegerscaleUnits()Get the scaleUnits property: The scale units for the Bastion Host resource.Skusku()Get the sku property: The sku of this Bastion Host.voidvalidate()Validates the instance.BastionHostInnerwithDisableCopyPaste(Boolean disableCopyPaste)Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.BastionHostInnerwithDnsName(String dnsName)Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.BastionHostInnerwithEnableFileCopy(Boolean enableFileCopy)Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.BastionHostInnerwithEnableIpConnect(Boolean enableIpConnect)Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.BastionHostInnerwithEnableShareableLink(Boolean enableShareableLink)Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.BastionHostInnerwithEnableTunneling(Boolean enableTunneling)Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.BastionHostInnerwithId(String id)Set the id property: Resource ID.BastionHostInnerwithIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)Set the ipConfigurations property: IP configuration of the Bastion Host resource.BastionHostInnerwithLocation(String location)BastionHostInnerwithScaleUnits(Integer scaleUnits)Set the scaleUnits property: The scale units for the Bastion Host resource.BastionHostInnerwithSku(Sku sku)Set the sku property: The sku of this Bastion Host.BastionHostInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
sku
public Sku sku()
Get the sku property: The sku of this Bastion Host.- Returns:
- the sku value.
-
withSku
public BastionHostInner withSku(Sku sku)
Set the sku property: The sku of this Bastion Host.- Parameters:
sku- the sku value to set.- Returns:
- the BastionHostInner object itself.
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public BastionHostInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the BastionHostInner object itself.
-
withLocation
public BastionHostInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public BastionHostInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
ipConfigurations
public List<BastionHostIpConfiguration> ipConfigurations()
Get the ipConfigurations property: IP configuration of the Bastion Host resource.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public BastionHostInner withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ipConfigurations property: IP configuration of the Bastion Host resource.- Parameters:
ipConfigurations- the ipConfigurations value to set.- Returns:
- the BastionHostInner object itself.
-
dnsName
public String dnsName()
Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.- Returns:
- the dnsName value.
-
withDnsName
public BastionHostInner 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 BastionHostInner object itself.
-
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.
-
withScaleUnits
public BastionHostInner withScaleUnits(Integer scaleUnits)
Set the scaleUnits property: The scale units for the Bastion Host resource.- Parameters:
scaleUnits- the scaleUnits value to set.- Returns:
- the BastionHostInner object itself.
-
disableCopyPaste
public Boolean disableCopyPaste()
Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.- Returns:
- the disableCopyPaste value.
-
withDisableCopyPaste
public BastionHostInner 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 BastionHostInner object itself.
-
enableFileCopy
public Boolean enableFileCopy()
Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.- Returns:
- the enableFileCopy value.
-
withEnableFileCopy
public BastionHostInner 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 BastionHostInner object itself.
-
enableIpConnect
public Boolean enableIpConnect()
Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.- Returns:
- the enableIpConnect value.
-
withEnableIpConnect
public BastionHostInner 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 BastionHostInner object itself.
-
enableShareableLink
public Boolean enableShareableLink()
Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.- Returns:
- the enableShareableLink value.
-
withEnableShareableLink
public BastionHostInner 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 BastionHostInner object itself.
-
enableTunneling
public Boolean enableTunneling()
Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.- Returns:
- the enableTunneling value.
-
withEnableTunneling
public BastionHostInner 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 BastionHostInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-