CrossTenantScopes Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.CrossTenantScopes

Implements

public final class CrossTenantScopes
implements JsonSerializable<CrossTenantScopes>

Cross tenant scopes.

Constructor Summary

Constructor Description
CrossTenantScopes()

Creates an instance of CrossTenantScopes class.

Method Summary

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

Reads an instance of CrossTenantScopes from the JsonReader.

List<String> managementGroups()

Get the managementGroups property: List of management groups.

List<String> subscriptions()

Get the subscriptions property: List of subscriptions.

String tenantId()

Get the tenantId property: Tenant ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CrossTenantScopes

public CrossTenantScopes()

Creates an instance of CrossTenantScopes class.

Method Details

fromJson

public static CrossTenantScopes fromJson(JsonReader jsonReader)

Reads an instance of CrossTenantScopes from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

managementGroups

public List managementGroups()

Get the managementGroups property: List of management groups.

Returns:

the managementGroups value.

subscriptions

public List subscriptions()

Get the subscriptions property: List of subscriptions.

Returns:

the subscriptions value.

tenantId

public String tenantId()

Get the tenantId property: Tenant ID.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to