Partager via


ManagedByTenant Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ManagedByTenant

Implements

public final class ManagedByTenant
implements JsonSerializable<ManagedByTenant>

Information about a tenant managing the subscription.

Constructor Summary

Constructor Description
ManagedByTenant()

Creates an instance of ManagedByTenant class.

Method Summary

Modifier and Type Method and Description
static ManagedByTenant fromJson(JsonReader jsonReader)

Reads an instance of ManagedByTenant from the JsonReader.

String tenantId()

Get the tenantId property: The tenant ID of the managing tenant.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ManagedByTenant

public ManagedByTenant()

Creates an instance of ManagedByTenant class.

Method Details

fromJson

public static ManagedByTenant fromJson(JsonReader jsonReader)

Reads an instance of ManagedByTenant from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tenantId

public String tenantId()

Get the tenantId property: The tenant ID of the managing tenant. This is a GUID.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to