AllowedConnectionsResourceInner Class

public final class AllowedConnectionsResourceInner
extends ProxyResource

The resource whose properties describes the allowed traffic between Azure resources.

Constructor Summary

Constructor Description
AllowedConnectionsResourceInner()

Creates an instance of AllowedConnectionsResourceInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime calculatedDateTime()

Get the calculatedDateTime property: The UTC time on which the allowed connections resource was calculated.

List<ConnectableResource> connectableResources()

Get the connectableResources property: List of connectable resources.

static AllowedConnectionsResourceInner fromJson(JsonReader jsonReader)

Reads an instance of AllowedConnectionsResourceInner from the JsonReader.

String id()

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

String location()

Get the location property: Location where the resource is stored.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AllowedConnectionsResourceInner

public AllowedConnectionsResourceInner()

Creates an instance of AllowedConnectionsResourceInner class.

Method Details

calculatedDateTime

public OffsetDateTime calculatedDateTime()

Get the calculatedDateTime property: The UTC time on which the allowed connections resource was calculated.

Returns:

the calculatedDateTime value.

connectableResources

public List<ConnectableResource> connectableResources()

Get the connectableResources property: List of connectable resources.

Returns:

the connectableResources value.

fromJson

public static AllowedConnectionsResourceInner fromJson(JsonReader jsonReader)

Reads an instance of AllowedConnectionsResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AllowedConnectionsResourceInner 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: Fully qualified resource Id for the resource.

Overrides:

AllowedConnectionsResourceInner.id()

Returns:

the id value.

location

public String location()

Get the location property: Location where the resource is stored.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AllowedConnectionsResourceInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AllowedConnectionsResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AllowedConnectionsResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to