public class BastionHostIpConfiguration
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
BastionHostIpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: Name of the resource that is unique within a resource group.
|
IpAllocationMethod |
privateIpAllocationMethod()
Get the privateIpAllocationMethod property: Private IP allocation method.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the bastion host IP configuration resource.
|
com.azure.core.management.SubResource |
publicIpAddress()
Get the publicIpAddress property: Reference of the PublicIP resource.
|
com.azure.core.management.SubResource |
subnet()
Get the subnet property: Reference of the subnet resource.
|
String |
type()
Get the type property: Ip configuration type.
|
void |
validate()
Validates the instance.
|
BastionHostIpConfiguration |
withId(String id) |
BastionHostIpConfiguration |
withName(String name)
Set the name property: Name of the resource that is unique within a resource group.
|
BastionHostIpConfiguration |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: Private IP allocation method.
|
BastionHostIpConfiguration |
withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
Set the publicIpAddress property: Reference of the PublicIP resource.
|
BastionHostIpConfiguration |
withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: Reference of the subnet resource.
|
public String name()
public BastionHostIpConfiguration withName(String name)
name - the name value to set.public String etag()
public String type()
public com.azure.core.management.SubResource subnet()
public BastionHostIpConfiguration withSubnet(com.azure.core.management.SubResource subnet)
subnet - the subnet value to set.public com.azure.core.management.SubResource publicIpAddress()
public BastionHostIpConfiguration withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
publicIpAddress - the publicIpAddress value to set.public ProvisioningState provisioningState()
public IpAllocationMethod privateIpAllocationMethod()
public BastionHostIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
privateIpAllocationMethod - the privateIpAllocationMethod value to set.public BastionHostIpConfiguration withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.