BastionHostInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. BastionHostInner
- com.
- com.
- com.
public final class BastionHostInner
extends Resource
Bastion Host resource.
Constructor Summary
Constructor | Description |
---|---|
BastionHostInner() |
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 |
enableSessionRecording()
Get the enable |
Boolean |
enableShareableLink()
Get the enable |
Boolean |
enableTunneling()
Get the enable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Bastion |
fromJson(JsonReader jsonReader)
Reads an instance of Bastion |
String |
id()
Get the id property: Resource ID. |
List<Bastion |
ipConfigurations()
Get the ip |
String |
name()
Get the name property: The name of the resource. |
Bastion |
networkAcls()
Get the network |
Provisioning |
provisioningState()
Get the provisioning |
Integer |
scaleUnits()
Get the scale |
Sku |
sku()
Get the sku property: The sku of this Bastion Host. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
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 |
withEnableSessionRecording(Boolean enableSessionRecording)
Set the enable |
Bastion |
withEnableShareableLink(Boolean enableShareableLink)
Set the enable |
Bastion |
withEnableTunneling(Boolean enableTunneling)
Set the enable |
Bastion |
withId(String id)
Set the id property: Resource ID. |
Bastion |
withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ip |
Bastion |
withLocation(String location) |
Bastion |
withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)
Set the network |
Bastion |
withScaleUnits(Integer scaleUnits)
Set the scale |
Bastion |
withSku(Sku sku)
Set the sku property: The sku of this Bastion Host. |
Bastion |
withTags(Map<String,String> tags) |
Bastion |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Bastion |
withZones(List<String> zones)
Set the zones property: A list of availability zones denoting where the resource needs to come from. |
List<String> |
zones()
Get the zones property: A list of availability zones denoting where the resource needs to come from. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
BastionHostInner
public BastionHostInner()
Creates an instance of BastionHostInner 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:
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:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static BastionHostInner fromJson(JsonReader jsonReader)
Reads an instance of BastionHostInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
BastionHostInner.id()Returns:
ipConfigurations
public List
Get the ipConfigurations property: IP configuration of the Bastion Host resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BastionHostInner.name()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:
sku
public Sku sku()
Get the sku property: The sku of this Bastion Host.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BastionHostInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BastionHostInner.type()Returns:
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 BastionHostInner withDisableCopyPaste(Boolean disableCopyPaste)
Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.
Parameters:
Returns:
withDnsName
public BastionHostInner withDnsName(String dnsName)
Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.
Parameters:
Returns:
withEnableFileCopy
public BastionHostInner withEnableFileCopy(Boolean enableFileCopy)
Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.
Parameters:
Returns:
withEnableIpConnect
public BastionHostInner withEnableIpConnect(Boolean enableIpConnect)
Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.
Parameters:
Returns:
withEnableKerberos
public BastionHostInner withEnableKerberos(Boolean enableKerberos)
Set the enableKerberos property: Enable/Disable Kerberos feature of the Bastion Host resource.
Parameters:
Returns:
withEnableSessionRecording
public BastionHostInner withEnableSessionRecording(Boolean enableSessionRecording)
Set the enableSessionRecording property: Enable/Disable Session Recording feature of the Bastion Host resource.
Parameters:
Returns:
withEnableShareableLink
public BastionHostInner withEnableShareableLink(Boolean enableShareableLink)
Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.
Parameters:
Returns:
withEnableTunneling
public BastionHostInner withEnableTunneling(Boolean enableTunneling)
Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.
Parameters:
Returns:
withId
public BastionHostInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIpConfigurations
public BastionHostInner withIpConfigurations(List
Set the ipConfigurations property: IP configuration of the Bastion Host resource.
Parameters:
Returns:
withLocation
public BastionHostInner withLocation(String location)
Overrides:
BastionHostInner.withLocation(String location)Parameters:
withNetworkAcls
public BastionHostInner withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)
Set the networkAcls property: The networkAcls property.
Parameters:
Returns:
withScaleUnits
public BastionHostInner withScaleUnits(Integer scaleUnits)
Set the scaleUnits property: The scale units for the Bastion Host resource.
Parameters:
Returns:
withSku
public BastionHostInner withSku(Sku sku)
Set the sku property: The sku of this Bastion Host.
Parameters:
Returns:
withTags
public BastionHostInner withTags(Map
Overrides:
BastionHostInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetwork
public BastionHostInner withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: Reference to an existing virtual network required for Developer Bastion Host only.
Parameters:
Returns:
withZones
public BastionHostInner withZones(List
Set the zones property: A list of availability zones denoting where the resource needs to come from.
Parameters:
Returns:
zones
public List
Get the zones property: A list of availability zones denoting where the resource needs to come from.
Returns:
Applies to
Azure SDK for Java