다음을 통해 공유


NetworkInterfaceTapConfigurationInner Class

public final class NetworkInterfaceTapConfigurationInner
extends SubResource

Tap configuration in a Network Interface.

Constructor Summary

Constructor Description
NetworkInterfaceTapConfigurationInner()

Creates an instance of NetworkInterfaceTapConfigurationInner 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 NetworkInterfaceTapConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceTapConfigurationInner from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the network interface tap configuration resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Sub Resource type.

void validate()

Validates the instance.

VirtualNetworkTapInner virtualNetworkTap()

Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

NetworkInterfaceTapConfigurationInner withId(String id)
NetworkInterfaceTapConfigurationInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap)

Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

NetworkInterfaceTapConfigurationInner

public NetworkInterfaceTapConfigurationInner()

Creates an instance of NetworkInterfaceTapConfigurationInner 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 NetworkInterfaceTapConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterfaceTapConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkInterfaceTapConfigurationInner 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 NetworkInterfaceTapConfigurationInner.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. 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 network interface tap configuration resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkInterfaceTapConfigurationInner.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.

virtualNetworkTap

public VirtualNetworkTapInner virtualNetworkTap()

Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Returns:

the virtualNetworkTap value.

withId

public NetworkInterfaceTapConfigurationInner withId(String id)

Overrides:

NetworkInterfaceTapConfigurationInner.withId(String id)

Parameters:

id

withName

public NetworkInterfaceTapConfigurationInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the NetworkInterfaceTapConfigurationInner object itself.

withVirtualNetworkTap

public NetworkInterfaceTapConfigurationInner withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap)

Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.

Parameters:

virtualNetworkTap - the virtualNetworkTap value to set.

Returns:

the NetworkInterfaceTapConfigurationInner object itself.

Applies to