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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionetag()
Get a unique read-only string that changes whenever the resource is updated.name()
Get name of the resource that is unique within a resource group.Get private IP allocation method.Get the provisioning state of the bastion host IP configuration resource.com.microsoft.azure.SubResource
Get reference of the PublicIP resource.com.microsoft.azure.SubResource
subnet()
Get reference of the subnet resource.type()
Get ip configuration type.Set name of the resource that is unique within a resource group.withPrivateIPAllocationMethod
(IPAllocationMethod privateIPAllocationMethod) Set private IP allocation method.withPublicIPAddress
(com.microsoft.azure.SubResource publicIPAddress) Set reference of the PublicIP resource.withSubnet
(com.microsoft.azure.SubResource subnet) Set reference of the subnet resource.Methods inherited from class com.microsoft.azure.SubResource
id, withId
-
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
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
Get the provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.- Returns:
- the provisioningState value
-
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
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
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
Get a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value
-
type
Get ip configuration type.- Returns:
- the type value
-