Share via


AttachedNetworkConnectionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.AttachedNetworkConnectionProperties

Implements

public final class AttachedNetworkConnectionProperties
implements JsonSerializable<AttachedNetworkConnectionProperties>

Properties of an attached NetworkConnection.

Constructor Summary

Constructor Description
AttachedNetworkConnectionProperties()

Creates an instance of AttachedNetworkConnectionProperties class.

Method Summary

Modifier and Type Method and Description
DomainJoinType domainJoinType()

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

static AttachedNetworkConnectionProperties fromJson(JsonReader jsonReader)

Reads an instance of AttachedNetworkConnectionProperties from the JsonReader.

HealthCheckStatus healthCheckStatus()

Get the healthCheckStatus property: Health check status values.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AttachedNetworkConnectionProperties withNetworkConnectionId(String networkConnectionId)

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

Methods inherited from java.lang.Object

Constructor Details

AttachedNetworkConnectionProperties

public AttachedNetworkConnectionProperties()

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

Reads an instance of AttachedNetworkConnectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkConnectionId

public AttachedNetworkConnectionProperties 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 AttachedNetworkConnectionProperties object itself.

Applies to