NetworkProfileInner Class

public final class NetworkProfileInner
extends Resource

Network profile resource.

Constructor Summary

Constructor Description
NetworkProfileInner()

Creates an instance of NetworkProfileInner class.

Method Summary

Modifier and Type Method and Description
List<ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations()

Get the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.

List<ContainerNetworkInterface> containerNetworkInterfaces()

Get the containerNetworkInterfaces property: List of child container network interfaces.

String etag()

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

static NetworkProfileInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkProfileInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the network profile resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

NetworkProfileInner withContainerNetworkInterfaceConfigurations(List<ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations)

Set the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.

NetworkProfileInner withId(String id)

Set the id property: Resource ID.

NetworkProfileInner withLocation(String location)
NetworkProfileInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

NetworkProfileInner

public NetworkProfileInner()

Creates an instance of NetworkProfileInner class.

Method Details

containerNetworkInterfaceConfigurations

public List containerNetworkInterfaceConfigurations()

Get the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.

Returns:

the containerNetworkInterfaceConfigurations value.

containerNetworkInterfaces

public List containerNetworkInterfaces()

Get the containerNetworkInterfaces property: List of child container network interfaces.

Returns:

the containerNetworkInterfaces value.

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

Reads an instance of NetworkProfileInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

NetworkProfileInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NetworkProfileInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the network profile resource.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkProfileInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NetworkProfileInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withContainerNetworkInterfaceConfigurations

public NetworkProfileInner withContainerNetworkInterfaceConfigurations(List containerNetworkInterfaceConfigurations)

Set the containerNetworkInterfaceConfigurations property: List of chid container network interface configurations.

Parameters:

containerNetworkInterfaceConfigurations - the containerNetworkInterfaceConfigurations value to set.

Returns:

the NetworkProfileInner object itself.

withId

public NetworkProfileInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the NetworkProfileInner object itself.

withLocation

public NetworkProfileInner withLocation(String location)

Overrides:

NetworkProfileInner.withLocation(String location)

Parameters:

location

withTags

public NetworkProfileInner withTags(Map tags)

Overrides:

NetworkProfileInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to