BastionHostInner Class

public final class BastionHostInner
extends Resource

Bastion Host resource.

Constructor Summary

Constructor Description
BastionHostInner()

Creates an instance of BastionHostInner 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 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.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static BastionHostInner fromJson(JsonReader jsonReader)

Reads an instance of BastionHostInner from the JsonReader.

String id()

Get the id property: Resource ID.

List<BastionHostIpConfiguration> ipConfigurations()

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

String name()

Get the name property: The name of the 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.

Sku sku()

Get the sku property: The sku of this Bastion Host.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SubResource virtualNetwork()

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

BastionHostInner withDisableCopyPaste(Boolean disableCopyPaste)

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

BastionHostInner withDnsName(String dnsName)

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

BastionHostInner withEnableFileCopy(Boolean enableFileCopy)

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

BastionHostInner withEnableIpConnect(Boolean enableIpConnect)

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

BastionHostInner withEnableKerberos(Boolean enableKerberos)

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

BastionHostInner withEnableSessionRecording(Boolean enableSessionRecording)

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

BastionHostInner withEnableShareableLink(Boolean enableShareableLink)

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

BastionHostInner withEnableTunneling(Boolean enableTunneling)

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

BastionHostInner withId(String id)

Set the id property: Resource ID.

BastionHostInner withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)

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

BastionHostInner withLocation(String location)
BastionHostInner withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)

Set the networkAcls property: The networkAcls property.

BastionHostInner withScaleUnits(Integer scaleUnits)

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

BastionHostInner withSku(Sku sku)

Set the sku property: The sku of this Bastion Host.

BastionHostInner withTags(Map<String,String> tags)
BastionHostInner withVirtualNetwork(SubResource virtualNetwork)

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

BastionHostInner 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:

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.

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.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static BastionHostInner fromJson(JsonReader jsonReader)

Reads an instance of BastionHostInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

BastionHostInner.id()

Returns:

the id value.

ipConfigurations

public List ipConfigurations()

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

Returns:

the ipConfigurations value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BastionHostInner.name()

Returns:

the name 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.

sku

public Sku sku()

Get the sku property: The sku of this Bastion Host.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BastionHostInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BastionHostInner.type()

Returns:

the type value.

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 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.

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.

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.

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.

withEnableKerberos

public BastionHostInner 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 BastionHostInner object itself.

withEnableSessionRecording

public BastionHostInner 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 BastionHostInner object itself.

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.

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.

withId

public BastionHostInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the BastionHostInner object itself.

withIpConfigurations

public BastionHostInner withIpConfigurations(List ipConfigurations)

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

Parameters:

ipConfigurations - the ipConfigurations value to set.

Returns:

the BastionHostInner object itself.

withLocation

public BastionHostInner withLocation(String location)

Overrides:

BastionHostInner.withLocation(String location)

Parameters:

location

withNetworkAcls

public BastionHostInner withNetworkAcls(BastionHostPropertiesFormatNetworkAcls networkAcls)

Set the networkAcls property: The networkAcls property.

Parameters:

networkAcls - the networkAcls value to set.

Returns:

the BastionHostInner object itself.

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.

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.

withTags

public BastionHostInner withTags(Map tags)

Overrides:

BastionHostInner.withTags(Map<String,String> tags)

Parameters:

tags

withVirtualNetwork

public BastionHostInner 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 BastionHostInner object itself.

withZones

public BastionHostInner withZones(List zones)

Set the zones property: A list of availability zones denoting where the resource needs to come from.

Parameters:

zones - the zones value to set.

Returns:

the BastionHostInner object itself.

zones

public List zones()

Get the zones property: A list of availability zones denoting where the resource needs to come from.

Returns:

the zones value.

Applies to