Class BastionHostIpConfigurationPropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.BastionHostIpConfigurationPropertiesFormat

public final class BastionHostIpConfigurationPropertiesFormat extends Object
Properties of IP configuration of an Bastion Host.
  • Constructor Details

    • BastionHostIpConfigurationPropertiesFormat

      public BastionHostIpConfigurationPropertiesFormat()
      Creates an instance of BastionHostIpConfigurationPropertiesFormat class.
  • Method Details

    • subnet

      public com.azure.core.management.SubResource subnet()
      Get the subnet property: Reference of the subnet resource.
      Returns:
      the subnet value.
    • withSubnet

      public BastionHostIpConfigurationPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet)
      Set the subnet property: Reference of the subnet resource.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the BastionHostIpConfigurationPropertiesFormat object itself.
    • publicIpAddress

      public com.azure.core.management.SubResource publicIpAddress()
      Get the publicIpAddress property: Reference of the PublicIP resource.
      Returns:
      the publicIpAddress value.
    • withPublicIpAddress

      public BastionHostIpConfigurationPropertiesFormat withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
      Set the publicIpAddress property: Reference of the PublicIP resource.
      Parameters:
      publicIpAddress - the publicIpAddress value to set.
      Returns:
      the BastionHostIpConfigurationPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the bastion host IP configuration resource.
      Returns:
      the provisioningState value.
    • privateIpAllocationMethod

      public IpAllocationMethod privateIpAllocationMethod()
      Get the privateIpAllocationMethod property: Private IP allocation method.
      Returns:
      the privateIpAllocationMethod value.
    • withPrivateIpAllocationMethod

      public BastionHostIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
      Set the privateIpAllocationMethod property: Private IP allocation method.
      Parameters:
      privateIpAllocationMethod - the privateIpAllocationMethod value to set.
      Returns:
      the BastionHostIpConfigurationPropertiesFormat object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.