BastionHostIPConfiguration Class
- java.
lang. Object - com.
microsoft. azure. SubResource - com.
microsoft. azure. management. network. BastionHostIPConfiguration
- com.
- com.
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. |
IPAllocation |
privateIPAllocationMethod()
Get private IP allocation method. |
Provisioning |
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. |
Bastion |
withName(String name)
Set name of the resource that is unique within a resource group. |
Bastion |
withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)
Set private IP allocation method. |
Bastion |
withPublicIPAddress(SubResource publicIPAddress)
Set reference of the PublicIP resource. |
Bastion |
withSubnet(SubResource subnet)
Set reference of the subnet resource. |
Methods inherited from com.microsoft.azure.SubResource
Methods inherited from java.lang.Object
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:
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:
privateIPAllocationMethod
public IPAllocationMethod privateIPAllocationMethod()
Get private IP allocation method. Possible values include: 'Static', 'Dynamic'.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
publicIPAddress
public SubResource publicIPAddress()
Get reference of the PublicIP resource.
Returns:
subnet
public SubResource subnet()
Get reference of the subnet resource.
Returns:
type
public String type()
Get ip configuration type.
Returns:
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:
Returns:
withPrivateIPAllocationMethod
public BastionHostIPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)
Set private IP allocation method. Possible values include: 'Static', 'Dynamic'.
Parameters:
Returns:
withPublicIPAddress
public BastionHostIPConfiguration withPublicIPAddress(SubResource publicIPAddress)
Set reference of the PublicIP resource.
Parameters:
Returns:
withSubnet
public BastionHostIPConfiguration withSubnet(SubResource subnet)
Set reference of the subnet resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor