HubIpConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. HubIpConfigurationInner
- com.
- com.
public final class HubIpConfigurationInner
extends SubResource
IpConfigurations.
Constructor Summary
Constructor | Description |
---|---|
HubIpConfigurationInner() |
Creates an instance of Hub |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Hub |
fromJson(JsonReader jsonReader)
Reads an instance of Hub |
String |
name()
Get the name property: Name of the Ip Configuration. |
String |
privateIpAddress()
Get the private |
Ip |
privateIpAllocationMethod()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicIpAddress()
Get the public |
Subnet |
subnet()
Get the subnet property: The reference to the subnet resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Ipconfiguration type. |
void |
validate()
Validates the instance. |
Hub |
withId(String id) |
Hub |
withName(String name)
Set the name property: Name of the Ip Configuration. |
Hub |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Hub |
withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the private |
Hub |
withPublicIpAddress(PublicIpAddressInner publicIpAddress)
Set the public |
Hub |
withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
HubIpConfigurationInner
public HubIpConfigurationInner()
Creates an instance of HubIpConfigurationInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static HubIpConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of HubIpConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the Ip Configuration.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of the IP configuration.
Returns:
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: The private IP address allocation method.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the IP configuration resource.
Returns:
publicIpAddress
public PublicIpAddressInner publicIpAddress()
Get the publicIpAddress property: The reference to the public IP resource.
Returns:
subnet
public SubnetInner subnet()
Get the subnet property: The reference to the subnet resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HubIpConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Ipconfiguration type.
Returns:
validate
public void validate()
Validates the instance.
withId
public HubIpConfigurationInner withId(String id)
Overrides:
HubIpConfigurationInner.withId(String id)Parameters:
withName
public HubIpConfigurationInner withName(String name)
Set the name property: Name of the Ip Configuration.
Parameters:
Returns:
withPrivateIpAddress
public HubIpConfigurationInner withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of the IP configuration.
Parameters:
Returns:
withPrivateIpAllocationMethod
public HubIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The private IP address allocation method.
Parameters:
Returns:
withPublicIpAddress
public HubIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)
Set the publicIpAddress property: The reference to the public IP resource.
Parameters:
Returns:
withSubnet
public HubIpConfigurationInner withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource.
Parameters:
Returns:
Applies to
Azure SDK for Java