BastionHostIPConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.BastionHostIPConfiguration

public class BastionHostIPConfiguration
extends com.microsoft.azure.SubResource

IP configuration of an Bastion Host.

Constructor Summary

Constructor Description
BastionHostIPConfiguration()

Method Summary

Modifier and Type Method and Description
java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

java.lang.String name()

Get name of the resource that is unique within a resource group.

IPAllocationMethod privateIPAllocationMethod()

Get private IP allocation method.

ProvisioningState provisioningState()

Get the provisioning state of the bastion host IP configuration resource.

com.microsoft.azure.SubResource publicIPAddress()

Get reference of the PublicIP resource.

com.microsoft.azure.SubResource subnet()

Get reference of the subnet resource.

java.lang.String type()

Get ip configuration type.

BastionHostIPConfiguration withName(String name)

Set name of the resource that is unique within a resource group.

BastionHostIPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)

Set private IP allocation method.

BastionHostIPConfiguration withPublicIPAddress(SubResource publicIPAddress)

Set reference of the PublicIP resource.

BastionHostIPConfiguration withSubnet(SubResource subnet)

Set reference of the subnet resource.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BastionHostIPConfiguration

public BastionHostIPConfiguration()

Method Details

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

name

public String name()

Get name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value

privateIPAllocationMethod

public IPAllocationMethod privateIPAllocationMethod()

Get private IP allocation method. Possible values include: 'Static', 'Dynamic'.

Returns:

the privateIPAllocationMethod value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

publicIPAddress

public SubResource publicIPAddress()

Get reference of the PublicIP resource.

Returns:

the publicIPAddress value

subnet

public SubResource subnet()

Get reference of the subnet resource.

Returns:

the subnet value

type

public String type()

Get ip configuration type.

Returns:

the type value

withName

public BastionHostIPConfiguration withName(String name)

Set name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set

Returns:

the BastionHostIPConfiguration object itself.

withPrivateIPAllocationMethod

public BastionHostIPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)

Set private IP allocation method. Possible values include: 'Static', 'Dynamic'.

Parameters:

privateIPAllocationMethod - the privateIPAllocationMethod value to set

Returns:

the BastionHostIPConfiguration object itself.

withPublicIPAddress

public BastionHostIPConfiguration withPublicIPAddress(SubResource publicIPAddress)

Set reference of the PublicIP resource.

Parameters:

publicIPAddress - the publicIPAddress value to set

Returns:

the BastionHostIPConfiguration object itself.

withSubnet

public BastionHostIPConfiguration withSubnet(SubResource subnet)

Set reference of the subnet resource.

Parameters:

subnet - the subnet value to set

Returns:

the BastionHostIPConfiguration object itself.

Applies to