Freigeben über


IpConfigurationProfileInner Class

public final class IpConfigurationProfileInner
extends SubResource

IP configuration profile child resource.

Constructor Summary

Constructor Description
IpConfigurationProfileInner()

Creates an instance of IpConfigurationProfileInner class.

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 IpConfigurationProfileInner fromJson(JsonReader jsonReader)

Reads an instance of IpConfigurationProfileInner from the JsonReader.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the IP configuration profile resource.

SubnetInner subnet()

Get the subnet property: The reference to the subnet resource to create a container network interface ip configuration.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Sub Resource type.

void validate()

Validates the instance.

IpConfigurationProfileInner withId(String id)
IpConfigurationProfileInner withName(String name)

Set the name property: The name of the resource.

IpConfigurationProfileInner withSubnet(SubnetInner subnet)

Set the subnet property: The reference to the subnet resource to create a container network interface ip configuration.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

IpConfigurationProfileInner

public IpConfigurationProfileInner()

Creates an instance of IpConfigurationProfileInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static IpConfigurationProfileInner fromJson(JsonReader jsonReader)

Reads an instance of IpConfigurationProfileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpConfigurationProfileInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IpConfigurationProfileInner.

name

public String name()

Get the name property: The name of the resource. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the IP configuration profile resource.

Returns:

the provisioningState value.

subnet

public SubnetInner subnet()

Get the subnet property: The reference to the subnet resource to create a container network interface ip configuration.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

IpConfigurationProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Sub Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public IpConfigurationProfileInner withId(String id)

Overrides:

IpConfigurationProfileInner.withId(String id)

Parameters:

id

withName

public IpConfigurationProfileInner withName(String name)

Set the name property: The name of the resource. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the IpConfigurationProfileInner object itself.

withSubnet

public IpConfigurationProfileInner withSubnet(SubnetInner subnet)

Set the subnet property: The reference to the subnet resource to create a container network interface ip configuration.

Parameters:

subnet - the subnet value to set.

Returns:

the IpConfigurationProfileInner object itself.

Applies to