AvailableDelegationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AvailableDelegationInner

Implements

public final class AvailableDelegationInner
implements JsonSerializable<AvailableDelegationInner>

The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

Method Summary

Modifier and Type Method and Description
List<String> actions()

Get the actions property: The actions permitted to the service upon delegation.

static AvailableDelegationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableDelegationInner from the JsonReader.

String id()

Get the id property: A unique identifier of the AvailableDelegation resource.

String name()

Get the name property: The name of the AvailableDelegation resource.

String serviceName()

Get the serviceName property: The name of the service and resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

actions

public List<String> actions()

Get the actions property: The actions permitted to the service upon delegation.

Returns:

the actions value.

fromJson

public static AvailableDelegationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableDelegationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: A unique identifier of the AvailableDelegation resource.

Returns:

the id value.

name

public String name()

Get the name property: The name of the AvailableDelegation resource.

Returns:

the name value.

serviceName

public String serviceName()

Get the serviceName property: The name of the service and resource.

Returns:

the serviceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to