Class BastionHostIPConfiguration

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 Details

    • BastionHostIPConfiguration

      public BastionHostIPConfiguration()
  • Method Details

    • subnet

      public com.microsoft.azure.SubResource subnet()
      Get reference of the subnet resource.
      Returns:
      the subnet value
    • withSubnet

      public BastionHostIPConfiguration withSubnet(com.microsoft.azure.SubResource subnet)
      Set reference of the subnet resource.
      Parameters:
      subnet - the subnet value to set
      Returns:
      the BastionHostIPConfiguration object itself.
    • publicIPAddress

      public com.microsoft.azure.SubResource publicIPAddress()
      Get reference of the PublicIP resource.
      Returns:
      the publicIPAddress value
    • withPublicIPAddress

      public BastionHostIPConfiguration withPublicIPAddress(com.microsoft.azure.SubResource publicIPAddress)
      Set reference of the PublicIP resource.
      Parameters:
      publicIPAddress - the publicIPAddress value to set
      Returns:
      the BastionHostIPConfiguration object itself.
    • 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
    • privateIPAllocationMethod

      public IPAllocationMethod privateIPAllocationMethod()
      Get private IP allocation method. Possible values include: 'Static', 'Dynamic'.
      Returns:
      the privateIPAllocationMethod value
    • 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.
    • 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
    • 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.
    • etag

      public String etag()
      Get a unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value
    • type

      public String type()
      Get ip configuration type.
      Returns:
      the type value