### YamlMime:JavaType uid: "com.azure.resourcemanager.network.models.CrossTenantScopes" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes" name: "CrossTenantScopes" nameWithType: "CrossTenantScopes" summary: "Cross tenant scopes." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **CrossTenantScopes**
implements <>" constructors: - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.CrossTenantScopes()" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.CrossTenantScopes()" name: "CrossTenantScopes()" nameWithType: "CrossTenantScopes.CrossTenantScopes()" summary: "Creates an instance of CrossTenantScopes class." syntax: "public CrossTenantScopes()" desc: "Creates an instance of CrossTenantScopes class." methods: - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "CrossTenantScopes.fromJson(JsonReader jsonReader)" summary: "Reads an instance of CrossTenantScopes from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static CrossTenantScopes fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the CrossTenantScopes." type: "IOException" desc: "Reads an instance of CrossTenantScopes from the JsonReader." returns: description: "An instance of CrossTenantScopes if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.managementGroups()" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.managementGroups()" name: "managementGroups()" nameWithType: "CrossTenantScopes.managementGroups()" summary: "Get the managementGroups property: List of management groups." syntax: "public List managementGroups()" desc: "Get the managementGroups property: List of management groups." returns: description: "the managementGroups value." type: "List<String>" - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.subscriptions()" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.subscriptions()" name: "subscriptions()" nameWithType: "CrossTenantScopes.subscriptions()" summary: "Get the subscriptions property: List of subscriptions." syntax: "public List subscriptions()" desc: "Get the subscriptions property: List of subscriptions." returns: description: "the subscriptions value." type: "List<String>" - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.tenantId()" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.tenantId()" name: "tenantId()" nameWithType: "CrossTenantScopes.tenantId()" summary: "Get the tenantId property: Tenant ID." syntax: "public String tenantId()" desc: "Get the tenantId property: Tenant ID." returns: description: "the tenantId value." type: "String" - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "CrossTenantScopes.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.network.models.CrossTenantScopes.validate()" fullName: "com.azure.resourcemanager.network.models.CrossTenantScopes.validate()" name: "validate()" nameWithType: "CrossTenantScopes.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." type: "class" desc: "Cross tenant scopes." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.network.models" artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0