Поделиться через


AttachedNetworkConnectionInner Class

public final class AttachedNetworkConnectionInner
extends ProxyResource

Represents an attached NetworkConnection.

Constructor Summary

Constructor Description
AttachedNetworkConnectionInner()

Creates an instance of AttachedNetworkConnectionInner class.

Method Summary

Modifier and Type Method and Description
DomainJoinType domainJoinType()

Get the domainJoinType property: AAD Join type of the network.

static AttachedNetworkConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of AttachedNetworkConnectionInner from the JsonReader.

HealthCheckStatus healthCheckStatus()

Get the healthCheckStatus property: Health check status values.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String networkConnectionId()

Get the networkConnectionId property: The resource ID of the NetworkConnection you want to attach.

String networkConnectionLocation()

Get the networkConnectionLocation property: The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives.

ProvisioningState provisioningState()

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

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AttachedNetworkConnectionInner withNetworkConnectionId(String networkConnectionId)

Set the networkConnectionId property: The resource ID of the NetworkConnection you want to attach.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AttachedNetworkConnectionInner

public AttachedNetworkConnectionInner()

Creates an instance of AttachedNetworkConnectionInner class.

Method Details

domainJoinType

public DomainJoinType domainJoinType()

Get the domainJoinType property: AAD Join type of the network. This is populated based on the referenced Network Connection.

Returns:

the domainJoinType value.

fromJson

public static AttachedNetworkConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of AttachedNetworkConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

healthCheckStatus

public HealthCheckStatus healthCheckStatus()

Get the healthCheckStatus property: Health check status values.

Returns:

the healthCheckStatus value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AttachedNetworkConnectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AttachedNetworkConnectionInner.name()

Returns:

the name value.

networkConnectionId

public String networkConnectionId()

Get the networkConnectionId property: The resource ID of the NetworkConnection you want to attach.

Returns:

the networkConnectionId value.

networkConnectionLocation

public String networkConnectionLocation()

Get the networkConnectionLocation property: The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives.

Returns:

the networkConnectionLocation value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AttachedNetworkConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AttachedNetworkConnectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withNetworkConnectionId

public AttachedNetworkConnectionInner withNetworkConnectionId(String networkConnectionId)

Set the networkConnectionId property: The resource ID of the NetworkConnection you want to attach.

Parameters:

networkConnectionId - the networkConnectionId value to set.

Returns:

the AttachedNetworkConnectionInner object itself.

Applies to